[issue14853] test_file.py depends on sys.stdin being unseekable
STINNER Victor
report at bugs.python.org
Tue Jan 6 12:43:33 CET 2015
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 <report at bugs.python.org>
<http://bugs.python.org/issue14853>
_______________________________________
More information about the Python-bugs-list
mailing list