[py-dev] New issue 95 in py-trunk: py.test will not start if zlib is not available

issues-noreply at bitbucket.org issues-noreply at bitbucket.org
Fri May 14 12:05:44 CEST 2010


--- 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.



More information about the Pytest-dev mailing list