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