Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61b0c67 commit b042daaCopy full SHA for b042daa
1 file changed
Lib/test/test_file.py
@@ -148,16 +148,6 @@ def testModeStrings(self):
148
f.close()
149
self.fail('%r is an invalid file mode' % mode)
150
151
- def testStdin(self):
152
- # This causes the interpreter to exit on OSF1 v5.1.
153
- if sys.platform != 'osf1V5':
154
- self.assertRaises((IOError, ValueError), sys.stdin.seek, -1)
155
- else:
156
- print((
157
- ' Skipping sys.stdin.seek(-1), it may crash the interpreter.'
158
- ' Test manually.'), file=sys.__stdout__)
159
- self.assertRaises((IOError, ValueError), sys.stdin.truncate)
160
-
161
def testBadModeArgument(self):
162
# verify that we get a sensible error message for bad mode argument
163
bad_mode = "qwerty"
0 commit comments