[py-dev] New issue 93 in py-trunk: stdout should be captured while importing conftest.py

issues-noreply at bitbucket.org issues-noreply at bitbucket.org
Wed May 12 11:14:14 CEST 2010


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

New issue 93: stdout should be captured while importing conftest.py
http://bitbucket.org/hpk42/py-trunk/issue/93/stdout-should-be-captured-while-importing

amauryfa on Wed, 12 May 2010 11:14:14 +0200:

Description:
  With py.test 1.1.1, conftest.py was imported during the collection phase, and stdout was in 'captured' mode. But with 1.3.0, stdout is not captured any more.

This makes a difference in pypy, where importing some package have side-effects (configuration, compilation attempts, etc.) that prints several lines.  These lines should be masked, and output captured, like it is in setup_module(), for example.

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