Safter isatty check #1019

Closed
wants to merge 1 commit into
from

Projects

None yet

2 participants

@tebeka
tebeka commented Nov 9, 2013

I hit this when running some tests under nose with the xunit plugin. The plugin replaced sys.stdout with it's Tee object that as of version 1.3.0 did not implement isatty.

@jphalip
Contributor
jphalip commented Nov 16, 2013

I've found a similar issue with pipe objects and posted a patch inspired from this one in #1022. Feedback always welcome. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment