Quellcode durchsuchen

Remove duplication in python-imports test (pypy3 does support lzma)

Tianon Gravi vor 5 Jahren
Ursprung
Commit
f1e62444b1
1 geänderte Dateien mit 0 neuen und 5 gelöschten Zeilen
  1. 0 5
      test/tests/python-imports/container.py

+ 0 - 5
test/tests/python-imports/container.py

@@ -13,11 +13,6 @@ if not isWindows:
     else:
         import dbm.gnu
 
-        if isNotPypy:
-            # PyPy and Python 2 don't support lzma
-            import lzma
-            assert(lzma.decompress(lzma.compress(b'IT WORKS IT WORKS IT WORKS')) == b'IT WORKS IT WORKS IT WORKS')
-
 import bz2
 assert(bz2.decompress(bz2.compress(b'IT WORKS IT WORKS IT WORKS')) == b'IT WORKS IT WORKS IT WORKS')