From e21b6ae725bdc8f183745ae7b6289966f4d5337a Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Thu, 25 Jul 2013 05:21:00 +0200 Subject: #14853: remove test that was making too many assumptions about stdin. Patch by Elena Oat. --- Lib/test/test_file.py | 10 ---------- Misc/ACKS | 1 + 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/Lib/test/test_file.py b/Lib/test/test_file.py index dffa4b5..ac2aafa 100644 --- a/Lib/test/test_file.py +++ b/Lib/test/test_file.py @@ -154,16 +154,6 @@ class OtherFileTests(unittest.TestCase): 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" diff --git a/Misc/ACKS b/Misc/ACKS index b265036..cf553b7 100644 --- a/Misc/ACKS +++ b/Misc/ACKS @@ -744,6 +744,7 @@ Nigel O'Brian Kevin O'Connor Tim O'Malley Zooko O'Whielacronx +Elena Oat Pascal Oberndoerfer Jeffrey Ollie Adam Olsen -- cgit v0.12