Blame SOURCES/00136-skip-tests-of-seeking-stdin-in-rpmbuild.patch

ae2451
diff -up Python-2.7.2/Lib/test/test_file2k.py.skip-tests-of-seeking-stdin-in-rpmbuild Python-2.7.2/Lib/test/test_file2k.py
ae2451
--- Python-2.7.2/Lib/test/test_file2k.py.skip-tests-of-seeking-stdin-in-rpmbuild	2011-09-08 17:23:50.922520729 -0400
ae2451
+++ Python-2.7.2/Lib/test/test_file2k.py	2011-09-08 17:24:41.368517277 -0400
ae2451
@@ -213,6 +213,7 @@ class OtherFileTests(unittest.TestCase):
ae2451
             else:
ae2451
                 f.close()
ae2451
 
ae2451
+    @unittest._skipInRpmBuild('seems not to raise the exception when run in Koji')
ae2451
     def testStdin(self):
ae2451
         # This causes the interpreter to exit on OSF1 v5.1.
ae2451
         if sys.platform != 'osf1V5':
ae2451
diff -up Python-2.7.2/Lib/test/test_file.py.skip-tests-of-seeking-stdin-in-rpmbuild Python-2.7.2/Lib/test/test_file.py
ae2451
--- Python-2.7.2/Lib/test/test_file.py.skip-tests-of-seeking-stdin-in-rpmbuild	2011-09-08 17:20:31.146534389 -0400
ae2451
+++ Python-2.7.2/Lib/test/test_file.py	2011-09-08 17:24:45.016517030 -0400
ae2451
@@ -154,6 +154,7 @@ class OtherFileTests(unittest.TestCase):
ae2451
                 f.close()
ae2451
                 self.fail('%r is an invalid file mode' % mode)
ae2451
 
ae2451
+    @unittest._skipInRpmBuild('seems not to raise the exception when run in Koji')
ae2451
     def testStdin(self):
ae2451
         # This causes the interpreter to exit on OSF1 v5.1.
ae2451
         if sys.platform != 'osf1V5':