• jbd's avatar
    Check for fileno attribute in _tty_width function · bbd54e15
    jbd authored
    When using Options parser within a unittest.TextTestRunner with buffering enabled (buffer=True), it fails with: 
    AttributeError: StringIO instance has no attribute 'fileno'
    
    This change will prevent this kind of error.
    bbd54e15
Name
Last commit
Last update
packaging Loading commit data...
src Loading commit data...
.gitignore Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...