Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fake stdout should always have encoding attribute #630

Closed
wants to merge 1 commit into from

Conversation

glyphobet
Copy link
Contributor

Some programs expect this attribute, and use it to encode strings before writing to stdout. If it's not there, they fail with an AttributeError.

Some programs expect this attribute, and use it to encode strings before writing to stdout. If it's not there, they fail with an AttributeError.
@quiver
Copy link

quiver commented Mar 25, 2014

What's holding this PR to be merged?

@jszakmeister
Copy link
Contributor

How does this behave when unicode is being written to stdout?

@shoonoise
Copy link

👍

jszakmeister added a commit to jszakmeister/nose that referenced this pull request Nov 28, 2015
Fake stdout should always have an encoding attribute.
@jszakmeister
Copy link
Contributor

I've merged an amended version of this in 729c99a. Thanks.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants