Open glandium opened 5 years ago
Python library documentation for io.TextIOBase:
buffer
The underlying binary buffer (a BufferedIOBase instance) that TextIOBase deals with. This is not part of the TextIOBase API and may not exist in some implementations.
In python 3,
sys.stdout
andsys.stderr
have abuffer
attribute that can be used to write raw bytes. When nose wraps them, it doesn't provide such an attribute, which breaks code that uses it.