An interpreted, interactive, object-oriented programming language
CentOS Sources
2017-08-01 71084d584ff953f5463757ec6536406320560b4d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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
--- Python-2.7.2/Lib/test/test_file2k.py.skip-tests-of-seeking-stdin-in-rpmbuild    2011-09-08 17:23:50.922520729 -0400
+++ Python-2.7.2/Lib/test/test_file2k.py    2011-09-08 17:24:41.368517277 -0400
@@ -213,6 +213,7 @@ class OtherFileTests(unittest.TestCase):
             else:
                 f.close()
 
+    @unittest._skipInRpmBuild('seems not to raise the exception when run in Koji')
     def testStdin(self):
         # This causes the interpreter to exit on OSF1 v5.1.
         if sys.platform != 'osf1V5':
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
--- Python-2.7.2/Lib/test/test_file.py.skip-tests-of-seeking-stdin-in-rpmbuild    2011-09-08 17:20:31.146534389 -0400
+++ Python-2.7.2/Lib/test/test_file.py    2011-09-08 17:24:45.016517030 -0400
@@ -154,6 +154,7 @@ class OtherFileTests(unittest.TestCase):
                 f.close()
                 self.fail('%r is an invalid file mode' % mode)
 
+    @unittest._skipInRpmBuild('seems not to raise the exception when run in Koji')
     def testStdin(self):
         # This causes the interpreter to exit on OSF1 v5.1.
         if sys.platform != 'osf1V5':