summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_pty.py
diff options
context:
space:
mode:
authorGregory P. Smith <greg@krypto.org>2012-09-29 20:50:40 (GMT)
committerGregory P. Smith <greg@krypto.org>2012-09-29 20:50:40 (GMT)
commitb8ad23f4aa534a9d169b194dc415cd782fa4b199 (patch)
tree6789d6353f24e7ba2e36fb648eb54637a107b55f /Lib/test/test_pty.py
parent0f21adf7999d0a50889cde65419e51cfe77e9e1d (diff)
downloadcpython-b8ad23f4aa534a9d169b194dc415cd782fa4b199.zip
cpython-b8ad23f4aa534a9d169b194dc415cd782fa4b199.tar.gz
cpython-b8ad23f4aa534a9d169b194dc415cd782fa4b199.tar.bz2
Remove the new trivial pty.spawn() test as it hangs on many buildbots.
Diffstat (limited to 'Lib/test/test_pty.py')
-rw-r--r--Lib/test/test_pty.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/Lib/test/test_pty.py b/Lib/test/test_pty.py
index db37039..ef95268 100644
--- a/Lib/test/test_pty.py
+++ b/Lib/test/test_pty.py
@@ -196,12 +196,6 @@ class PtyTest(unittest.TestCase):
# pty.fork() passed.
- def test_spawn_returns_status(self):
- status = pty.spawn([sys.executable, '-c', 'import sys; sys.exit(0)'])
- self.assertEqual(status, 0)
- status = pty.spawn([sys.executable, '-c', 'import sys; sys.exit(5)'])
- self.assertEqual(status, 5 << 8)
-
class SmallPtyTests(unittest.TestCase):
"""These tests don't spawn children or hang."""