STINNER Victor added the comment:

The same issue was reported for test_file2k: issue #23168.

I modified test_file2k to skip sys.stdin.seek() test if stdin is not a TTY. I 
prefer to skip a test in a specific case, instead of removing it completly.

I propose to add again the test in test_file, with the skip. See 
test_file.patch for Python 2.7 (I will addapt it to Python 3 if the patch is 
accepted for Python 2).

----------
nosy: +haypo
resolution: fixed -> 
status: closed -> open

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14853>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to