Blame SOURCES/00142-skip-failing-pty-tests-in-rpmbuild.patch

1fe57a
diff -up Python-2.7.6/Lib/test/test_openpty.py.tty-fail Python-2.7.6/Lib/test/test_openpty.py
1fe57a
--- Python-2.7.6/Lib/test/test_openpty.py.tty-fail	2014-01-29 14:31:43.761343267 +0100
1fe57a
+++ Python-2.7.6/Lib/test/test_openpty.py	2014-01-29 14:32:19.284090165 +0100
1fe57a
@@ -8,6 +8,7 @@ if not hasattr(os, "openpty"):
1fe57a
 
1fe57a
 
1fe57a
 class OpenptyTest(unittest.TestCase):
1fe57a
+    @unittest._skipInRpmBuild('sometimes fails in Koji, possibly due to a mock issue (rhbz#714627)')
1fe57a
     def test(self):
1fe57a
         master, slave = os.openpty()
1fe57a
         self.addCleanup(os.close, master)
1fe57a
diff -up Python-2.7.6/Lib/test/test_pty.py.tty-fail Python-2.7.6/Lib/test/test_pty.py
1fe57a
--- Python-2.7.6/Lib/test/test_pty.py.tty-fail	2013-11-10 08:36:40.000000000 +0100
1fe57a
+++ Python-2.7.6/Lib/test/test_pty.py	2014-01-29 14:31:43.761343267 +0100
1fe57a
@@ -111,6 +111,7 @@ class PtyTest(unittest.TestCase):
1fe57a
         os.close(master_fd)
1fe57a
 
1fe57a
 
1fe57a
+    @unittest._skipInRpmBuild('sometimes fails in Koji, possibly due to a mock issue (rhbz#714627)')
1fe57a
     def test_fork(self):
1fe57a
         debug("calling pty.fork()")
1fe57a
         pid, master_fd = pty.fork()