-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pytest shows 0% test statistics after 3.4.0 with --capture argument #3203
Comments
See pytest-dev/pytest#3203. Option was introduced (in 2f426cd) to show warnings, which now displayed without one.
The problem is here: Lines 158 to 166 in e7bcc85
Why we don't need to show a progress when capture option is off? If it is right may be we need to hide percentage? because [0%] is not good point here, I think I can fix it but I don't know what is right :) |
Because since we are not capturing output, the output of the tests can create quite a mess in the terminal and printing the progress indicator really only adds to the mess so it was decided to not print it at all (also we can't really track the correct position where to put the progress indicator because the output is not coming through the So we really should just find the bit of code which "slipped" that check and not print the indicator in that case. 😁 Want to tackle this @feuillemorte? |
@nicoddemus yes, then I take it and will delete indicator in this case :) Thank you! |
…cator #3203 Remove progress when no-capture
Before 3.4.0 I get:
But since last release:
The text was updated successfully, but these errors were encountered: