diff -r 328781ae35d2 Lib/test/test_file.py --- a/Lib/test/test_file.py Fri Jul 05 01:41:30 2013 +0200 +++ b/Lib/test/test_file.py Sat Jul 06 19:09:11 2013 +0300 @@ -154,16 +154,6 @@ f.close() self.fail('%r is an invalid file mode' % mode) - def testStdin(self): - # This causes the interpreter to exit on OSF1 v5.1. - if sys.platform != 'osf1V5': - self.assertRaises((IOError, ValueError), sys.stdin.seek, -1) - else: - print(( - ' Skipping sys.stdin.seek(-1), it may crash the interpreter.' - ' Test manually.'), file=sys.__stdout__) - self.assertRaises((IOError, ValueError), sys.stdin.truncate) - def testBadModeArgument(self): # verify that we get a sensible error message for bad mode argument bad_mode = "qwerty"