]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blob - python/patches/00136-skip-tests-of-seeking-stdin-in-rpmbuild.patch
python: Update to 2.7.12.
[people/stevee/ipfire-3.x.git] / python / patches / 00136-skip-tests-of-seeking-stdin-in-rpmbuild.patch
1 diff -up Python-2.7.6/Lib/test/test_file2k.py.stdin-test Python-2.7.6/Lib/test/test_file2k.py
2 --- Python-2.7.6/Lib/test/test_file2k.py.stdin-test 2013-11-10 08:36:40.000000000 +0100
3 +++ Python-2.7.6/Lib/test/test_file2k.py 2014-01-29 14:28:01.029488055 +0100
4 @@ -223,6 +223,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 testStdinSeek(self):
10 if sys.platform == 'osf1V5':
11 # This causes the interpreter to exit on OSF1 v5.1.