Bläddra i källkod

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

Tianon Gravi 5 år sedan
förälder
incheckning
f1e62444b1
1 ändrade filer med 0 tillägg och 5 borttagningar
  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')