summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_file.py
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-07-25 03:24:47 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2013-07-25 03:24:47 (GMT)
commit99f969e7c7fd2fd39441e802461c5aee9b6cef9b (patch)
treed2b5e034921b75a82df3ec9311982667701aeac4 /Lib/test/test_file.py
parent3e1e97a99af5edf1a916d93c8c610f35953c9495 (diff)
parentb042daa5a7fae86f6dc9c568970ce4c57ea403e2 (diff)
downloadcpython-99f969e7c7fd2fd39441e802461c5aee9b6cef9b.zip
cpython-99f969e7c7fd2fd39441e802461c5aee9b6cef9b.tar.gz
cpython-99f969e7c7fd2fd39441e802461c5aee9b6cef9b.tar.bz2
#14853: merge with 3.3.
Diffstat (limited to 'Lib/test/test_file.py')
-rw-r--r--Lib/test/test_file.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/Lib/test/test_file.py b/Lib/test/test_file.py
index 1daffe4..d54e976 100644
--- a/Lib/test/test_file.py
+++ b/Lib/test/test_file.py
@@ -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"