Message161073
./python Lib/test/test_file.py # passes
./python Lib/test/test_file.py </dev/null # fails
nohup ./python Lib/test/test_file.py # fails
======================================================================
FAIL: testStdin (__main__.COtherFileTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "Lib/test/test_file.py", line 160, in testStdin
self.assertRaises((IOError, ValueError), sys.stdin.seek, -1)
AssertionError: (<type 'exceptions.IOError'>, <type 'exceptions.ValueError'>) not raised
======================================================================
FAIL: testStdin (__main__.PyOtherFileTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "Lib/test/test_file.py", line 160, in testStdin
self.assertRaises((IOError, ValueError), sys.stdin.seek, -1)
AssertionError: (<type 'exceptions.IOError'>, <type 'exceptions.ValueError'>) not raised
2.7 only; works fine in 3.2. |
|
Date |
User |
Action |
Args |
2012-05-18 18:50:07 | gregory.p.smith | set | recipients:
+ gregory.p.smith |
2012-05-18 18:50:06 | gregory.p.smith | set | messageid: <1337367006.89.0.99847274779.issue14853@psf.upfronthosting.co.za> |
2012-05-18 18:50:06 | gregory.p.smith | link | issue14853 messages |
2012-05-18 18:50:06 | gregory.p.smith | create | |
|