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

BUG: Tee doesn't have encoding or errors attrs. #945

Merged

Conversation

prabhuramachandran
Copy link
Contributor

On Python3, distutils.log uses the encoding and errors attribute of
sys.stdout and stderr. Tests error out when nose is run with xunit and
it replaces the stdout/stderr with a Tee.

The tests in this PR are rudimentary and only fix the problem I was facing.

On Python3, distutils.log uses the encoding and errors attribute of
sys.stdout and stderr.  Tests error out when nose is run with xunit and
it replaces the stdout/stderr with a Tee.
jszakmeister added a commit to jszakmeister/nose that referenced this pull request Nov 28, 2015
Tee doesn't have encoding and errors attributes.
@jszakmeister jszakmeister merged commit 14cbbc3 into nose-devs:master Nov 28, 2015
@jszakmeister
Copy link
Contributor

I amended this PR to avoid failures when distutils.log is not available, and merged it. 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.

2 participants