This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gregory.p.smith
Recipients gregory.p.smith
Date 2012-05-18.18:50:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1337367006.89.0.99847274779.issue14853@psf.upfronthosting.co.za>
In-reply-to
Content
./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.
History
Date User Action Args
2012-05-18 18:50:07gregory.p.smithsetrecipients: + gregory.p.smith
2012-05-18 18:50:06gregory.p.smithsetmessageid: <1337367006.89.0.99847274779.issue14853@psf.upfronthosting.co.za>
2012-05-18 18:50:06gregory.p.smithlinkissue14853 messages
2012-05-18 18:50:06gregory.p.smithcreate