]> granicus.if.org Git - python/commitdiff
Remove the new trivial pty.spawn() test as it hangs on many buildbots.
authorGregory P. Smith <greg@krypto.org>
Sat, 29 Sep 2012 20:50:40 +0000 (13:50 -0700)
committerGregory P. Smith <greg@krypto.org>
Sat, 29 Sep 2012 20:50:40 +0000 (13:50 -0700)
Lib/test/test_pty.py

index db370391f78462392877aa2685afbffe93708b2f..ef95268e19e593012a1e6be5a2e922cb73cbf9e7 100644 (file)
@@ -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."""