[lang-ref] ( get_stem_for_specific_extension ) ( python )
def test_get_stem_for_specific_extension():
# removesuffix(ext)
assert 'file1.tar.gz'.removesuffix('.tar.gz') == 'file1'
def test_get_stem_for_specific_extension():
# removesuffix(ext)
assert 'file1.tar.gz'.removesuffix('.tar.gz') == 'file1'