Commit 6b7a773f0ff0716a1d8fb31c6cf640088fe62016

Authored by decalage2
1 parent 830f098b

tests: small fix in test_encoding_handler.py

tests/common/test_encoding_handler.py
... ... @@ -152,8 +152,8 @@ def run_read(filename):
152 152 raise ValueError('Reader is not closed outside context')
153 153 if reader.name != filename:
154 154 raise ValueError('Wrong filename {} after context'.format(reader.name))
155   - if reader.isatty():
156   - raise ValueError('Reader has become a tty!')
  155 + if reader.isatty():
  156 + raise ValueError('Reader has become a tty!')
157 157  
158 158 # compare text
159 159 if sys.version_info.major <= 2: # in python2 get encoded byte string
... ...