Test Progress Indicator Hides Stdout From Fixtures After Yield #3029
Labels
topic: reporting
related to terminal output and user-facing messages and errors
type: enhancement
new feature or API change, should be merged into features branch
Change to add progress indicator (that thing that says 100%) to pytest clobbers stdout from fixtures after yield on Ubuntu 14.04 LTS with anaconda python 3.6.3
Change that (probably) introduced the bug:
#2657
Replication instructions:
In the following example the word "postfix" should show up in both outputs. It only shows up in the second output where we have set the console output style to classic.
Create a test file:
Run the test with -s
pytest test.py -s
Output:
Disable the progress feature by creating a file pytest.ini
Run the test with -s
pytest test.py -s
Output:
Pip List
The text was updated successfully, but these errors were encountered: