Open jaraco opened 6 years ago
my understanding is that doctest can't capture without breaking itself - its not clear what to do about sub-processes there
Is it possible to, in getfixture
, as exposed in doctests, always restore output capturing, invoke the fixture, then disable output capturing again?
When invoking a fixture with doctests, output isn't captured, so output from subprocesses can be seen in the output even in subsequent tests. Consider this test:
Invoked emits:
If you comment out the doctest, the output does not appear in the output.