[Python-checkins] cpython: Remove the new trivial pty.spawn() test as it hangs on many buildbots.

gregory.p.smith python-checkins at python.org
Sat Sep 29 22:51:06 CEST 2012


http://hg.python.org/cpython/rev/2bcfcb65a067
changeset: 79285:2bcfcb65a067
parent: 79282:ec2921d4de37
user: Gregory P. Smith <greg at krypto.org>
date: Sat Sep 29 13:50:40 2012 -0700
summary:
 Remove the new trivial pty.spawn() test as it hangs on many buildbots.
files:
 Lib/test/test_pty.py | 6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/Lib/test/test_pty.py b/Lib/test/test_pty.py
--- a/Lib/test/test_pty.py
+++ b/Lib/test/test_pty.py
@@ -196,12 +196,6 @@
 
 # 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."""
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /