10000 Add tests for zstd · python/cpython@18172c2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 18172c2

Browse files
committed
Add tests for zstd
1 parent 0598179 commit 18172c2

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)
0