[pypy-commit] pypy arm-backend-2: Also add a timeout to tests explicitly using pexpect

bivab noreply at buildbot.pypy.org
Tue Feb 21 14:54:02 CET 2012


Author: David Schneider <david.schneider at picle.org>
Branch: arm-backend-2
Changeset: r52726:af0e88e4cedc
Date: 2012-02-21 13:52 +0000
http://bitbucket.org/pypy/pypy/changeset/af0e88e4cedc/

Log:	Also add a timeout to tests explicitly using pexpect

diff --git a/pypy/module/_minimal_curses/test/test_curses.py b/pypy/module/_minimal_curses/test/test_curses.py
--- a/pypy/module/_minimal_curses/test/test_curses.py
+++ b/pypy/module/_minimal_curses/test/test_curses.py
@@ -18,6 +18,7 @@
     """
     def _spawn(self, *args, **kwds):
         import pexpect
+        kwds.setdefault('timeout', 600)
         print 'SPAWN:', args, kwds
         child = pexpect.spawn(*args, **kwds)
         child.logfile = sys.stdout


More information about the pypy-commit mailing list