]> git.ipfire.org Git - ipfire-3.x.git/blame - python/patches/00136-skip-tests-of-seeking-stdin-in-rpmbuild.patch
git: Update to 2.23.0
[ipfire-3.x.git] / python / patches / 00136-skip-tests-of-seeking-stdin-in-rpmbuild.patch
CommitLineData
4034c523
SS
1diff -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):
48d9a6a0
MT
5 else:
6 f.close()
7
8+ @unittest._skipInRpmBuild('seems not to raise the exception when run in Koji')
4034c523
SS
9 def testStdinSeek(self):
10 if sys.platform == 'osf1V5':
11 # This causes the interpreter to exit on OSF1 v5.1.