]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - python/patches/00136-skip-tests-of-seeking-stdin-in-rpmbuild.patch
tzdata: Update to 2014j
[people/ms/ipfire-3.x.git] / python / patches / 00136-skip-tests-of-seeking-stdin-in-rpmbuild.patch
1 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
2 --- Python-2.7.2/Lib/test/test_file2k.py.skip-tests-of-seeking-stdin-in-rpmbuild 2011-09-08 17:23:50.922520729 -0400
3 +++ Python-2.7.2/Lib/test/test_file2k.py 2011-09-08 17:24:41.368517277 -0400
4 @@ -213,6 +213,7 @@ class OtherFileTests(unittest.TestCase):
5 else:
6 f.close()
7
8 + @unittest._skipInRpmBuild('seems not to raise the exception when run in Koji')
9 def testStdin(self):
10 # This causes the interpreter to exit on OSF1 v5.1.
11 if sys.platform != 'osf1V5':
12 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
13 --- Python-2.7.2/Lib/test/test_file.py.skip-tests-of-seeking-stdin-in-rpmbuild 2011-09-08 17:20:31.146534389 -0400
14 +++ Python-2.7.2/Lib/test/test_file.py 2011-09-08 17:24:45.016517030 -0400
15 @@ -154,6 +154,7 @@ class OtherFileTests(unittest.TestCase):
16 f.close()
17 self.fail('%r is an invalid file mode' % mode)
18
19 + @unittest._skipInRpmBuild('seems not to raise the exception when run in Koji')
20 def testStdin(self):
21 # This causes the interpreter to exit on OSF1 v5.1.
22 if sys.platform != 'osf1V5':