Skip to content

Conversation

@radarhere
Copy link
Member

Fixes errors introduced by #5437

In the PNG test for example,

old_stdout = sys.stdout.buffer

is followed by
# Reset stdout
sys.stdout = old_stdout

This does not restore the original setting correctly.

@hugovk hugovk merged commit 79eb24b into python-pillow:master May 9, 2021
@radarhere radarhere deleted the stdout branch May 9, 2021 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants