Skip to content
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

Don't use sys.stderr as a default value #57

Merged
merged 1 commit into from May 24, 2018
Merged

Don't use sys.stderr as a default value #57

merged 1 commit into from May 24, 2018

Conversation

infinity0
Copy link
Contributor

Certan tools like pytest and other things mess with the value of sys.stderr. If we import progressbar before pytest has messed with it, then ProgressBar's default fd value will remain unmessed-with, potentially causing test failures if we're trying to test our progressbar output.

Certan tools like pytest and other things mess with the value of `sys.stderr`. If we import progressbar before pytest has messed with it, then `ProgressBar`'s default `fd` value will remain unmessed-with, potentially causing test failures if we're trying to test our progressbar output.
@NiltonVolpato NiltonVolpato merged commit 1052b65 into NiltonVolpato:master May 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants