From 5fdc355bed0c0370c1d036077096a61f1f42f1d0 Mon Sep 17 00:00:00 2001 From: Dimitri John Ledkov Date: Mon, 5 Jan 2015 12:21:09 +0000 Subject: [PATCH] Skip testStdin issue14853, issue23168 Organization: Intel Corporation (UK) Ltd. - Co. Reg. #1134945 - Pipers Way, Swindon SN3 1RJ Signed-off-by: Dimitri John Ledkov --- Lib/test/test_file2k.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/Lib/test/test_file2k.py b/Lib/test/test_file2k.py index 3803950..f8d64de 100644 --- a/Lib/test/test_file2k.py +++ b/Lib/test/test_file2k.py @@ -230,16 +230,6 @@ class OtherFileTests(unittest.TestCase): else: f.close() - def testStdin(self): - # This causes the interpreter to exit on OSF1 v5.1. - if sys.platform != 'osf1V5': - self.assertRaises(IOError, sys.stdin.seek, -1) - else: - print>>sys.__stdout__, ( - ' Skipping sys.stdin.seek(-1), it may crash the interpreter.' - ' Test manually.') - self.assertRaises(IOError, sys.stdin.truncate) - def testUnicodeOpen(self): # verify repr works for unicode too f = open(unicode(TESTFN), "w") -- 2.1.0

AltStyle によって変換されたページ (->オリジナル) /