[issue23168] test_file2k.py depends on sys.stdin being unseekable

2015-01-06 Thread STINNER Victor
STINNER Victor added the comment: Instead of removing the test, I modified it to be skipped if stdin is not a TTY. -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue23168] test_file2k.py depends on sys.stdin being unseekable

2015-01-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7f30206d402f by Victor Stinner in branch '2.7': Issue #23168: skip sys.stdin.seek() test if stdin is not a TTY https://hg.python.org/cpython/rev/7f30206d402f -- nosy: +python-dev ___ Python tracker

[issue23168] test_file2k.py depends on sys.stdin being unseekable

2015-01-05 Thread Dimitri John Ledkov
Dimitri John Ledkov added the comment: > Removing a test when it doesn't pass is not the correct way to fix a test... Whilst I agree, this is not what was done in http://bugs.python.org/issue14853 . There it was concluded that the test itself is bogus and tests essentially nothing. --

[issue23168] test_file2k.py depends on sys.stdin being unseekable

2015-01-05 Thread STINNER Victor
STINNER Victor added the comment: Removing a test when it doesn't pass is not the correct way to fix a test... I would be better to write it differently to support seekable stdin. Or if it doesn't make sense, skip the test if stdin is seeable. -- nosy: +haypo _

[issue23168] test_file2k.py depends on sys.stdin being unseekable

2015-01-05 Thread Dmitrijs Ledkovs
Changes by Dmitrijs Ledkovs : -- keywords: +patch Added file: http://bugs.python.org/file37603/issue23168.patch ___ Python tracker ___ ___

[issue23168] test_file2k.py depends on sys.stdin being unseekable

2015-01-05 Thread Dmitrijs Ledkovs
Changes by Dmitrijs Ledkovs : -- components: +Installation versions: +Python 2.7 ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue23168] test_file2k.py depends on sys.stdin being unseekable

2015-01-05 Thread Dmitrijs Ledkovs
New submission from Dmitrijs Ledkovs: # LD_LIBRARY_PATH=`pwd` ./python Lib/test/regrtest.py test_file2k http://bugs.python.org/issue14853 -- messages: 233459 nosy: xnox priority: normal severity: normal status: open title: test_file2k.py depends on sys.stdin being unseekable ___