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

6e8c2f
diff -up Python-2.7.2/Lib/test/test_openpty.py.skip-failing-pty-tests-in-rpmbuild Python-2.7.2/Lib/test/test_openpty.py
6e8c2f
--- Python-2.7.2/Lib/test/test_openpty.py.skip-failing-pty-tests-in-rpmbuild	2011-09-09 05:09:28.698920379 -0400
6e8c2f
+++ Python-2.7.2/Lib/test/test_openpty.py	2011-09-09 05:10:54.805914490 -0400
6e8c2f
@@ -8,6 +8,7 @@ if not hasattr(os, "openpty"):
6e8c2f
 
6e8c2f
 
6e8c2f
 class OpenptyTest(unittest.TestCase):
6e8c2f
+    @unittest._skipInRpmBuild('sometimes fails in Koji, possibly due to a mock issue (rhbz#714627)')
6e8c2f
     def test(self):
6e8c2f
         master, slave = os.openpty()
6e8c2f
         if not os.isatty(slave):
6e8c2f
diff -up Python-2.7.2/Lib/test/test_pty.py.skip-failing-pty-tests-in-rpmbuild Python-2.7.2/Lib/test/test_pty.py
6e8c2f
--- Python-2.7.2/Lib/test/test_pty.py.skip-failing-pty-tests-in-rpmbuild	2011-09-09 05:09:36.781919825 -0400
6e8c2f
+++ Python-2.7.2/Lib/test/test_pty.py	2011-09-09 05:11:14.741913127 -0400
6e8c2f
@@ -109,6 +109,7 @@ class PtyTest(unittest.TestCase):
6e8c2f
         os.close(master_fd)
6e8c2f
 
6e8c2f
 
6e8c2f
+    @unittest._skipInRpmBuild('sometimes fails in Koji, possibly due to a mock issue (rhbz#714627)')
6e8c2f
     def test_fork(self):
6e8c2f
         debug("calling pty.fork()")
6e8c2f
         pid, master_fd = pty.fork()