Skip to content

Commit 1d188cd

Browse files
committed
Add tests for zstd
1 parent c6c8d5d commit 1d188cd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Lib/test/test_zipfile/test_core.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1575,6 +1575,10 @@ class Bzip2RemoveTests(AbstractRemoveTests, unittest.TestCase):
15751575
class LzmaRemoveTests(AbstractRemoveTests, unittest.TestCase):
15761576
compression = zipfile.ZIP_LZMA
15771577

1578+
@requires_zstd()
1579+
class ZstdRemoveTests(AbstractRemoveTests, unittest.TestCase):
1580+
compression = zipfile.ZIP_ZSTANDARD
1581+
15781582

15791583
class PyZipFileTests(unittest.TestCase):
15801584
def assertCompiledIn(self, name, namelist):

0 commit comments

Comments
 (0)