stdout should be captured while importing

Create issue
Issue #93 new
Amaury Forgeot d'Arc created an issue

With py.test 1.1.1, 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.

Comments (0)

  1. Log in to comment