--- you can reply above this line ---

New issue 95: py.test will not start if zlib is not available
http://bitbucket.org/hpk42/py-trunk/issue/95/pytest-will-not-start-if-zlib-is-not

amauryfa on Fri, 14 May 2010 12:05:43 +0200:

Description:
  if the zlib module is not available (because it's a custom build of python or 
pypy), py.test will fail to import the pytest_genscript plugin, and nothing 
will work.

if zlib is not available, the "--genscript" option cannot work, but this should 
not prevent py.test from running tests.

I suggest a line like the following:
{{{
zlib = py.test.importorskip("zlib") 
}}}

Responsible:
  hpk42
-- 
This is an issue notification from bitbucket.org.
You are receiving this either because you are the
owner of the issue, or you are following the issue.
_______________________________________________
py-dev mailing list
py-dev@codespeak.net
http://codespeak.net/mailman/listinfo/py-dev

Reply via email to