#14853: merge with 3.3.

This commit is contained in:
Ezio Melotti 2013-07-25 05:24:47 +02:00
commit 99f969e7c7
1 changed files with 0 additions and 10 deletions

View File

@ -148,16 +148,6 @@ class OtherFileTests:
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((OSError, ValueError), sys.stdin.seek, -1)
else:
print((
' Skipping sys.stdin.seek(-1), it may crash the interpreter.'
' Test manually.'), file=sys.__stdout__)
self.assertRaises((OSError, ValueError), sys.stdin.truncate)
def testBadModeArgument(self):
# verify that we get a sensible error message for bad mode argument
bad_mode = "qwerty"