[pypy-svn] r63723 - pypy/trunk/pypy/rlib/test
cfbolz at codespeak.net
cfbolz at codespeak.net
Mon Apr 6 15:57:47 CEST 2009
Author: cfbolz
Date: Mon Apr 6 15:57:47 2009
New Revision: 63723
Modified:
pypy/trunk/pypy/rlib/test/test_rzipfile.py
Log:
skip test if zlib is not there
Modified: pypy/trunk/pypy/rlib/test/test_rzipfile.py
==============================================================================
--- pypy/trunk/pypy/rlib/test/test_rzipfile.py (original)
+++ pypy/trunk/pypy/rlib/test/test_rzipfile.py Mon Apr 6 15:57:47 2009
@@ -1,3 +1,4 @@
+import py
from pypy.rlib.rzipfile import RZipFile
from pypy.tool.udir import udir
@@ -6,6 +7,11 @@
import os
import time
+try:
+ from pypy.rlib import rzip
+except ImportError, e:
+ py.test.skip("zlib not installed: %s " % (e, ))
+
class BaseTestRZipFile(BaseRtypingTest):
def setup_class(cls):
More information about the Pypy-commit
mailing list