From e487df2fc568243e0d57a13b83ec8869af4a156f 2019-02-19 00:42:02 From: Matthias Bussonnier Date: 2019-02-19 00:42:02 Subject: [PATCH] increase timeout for startup --- diff --git a/IPython/terminal/tests/test_debug_magic.py b/IPython/terminal/tests/test_debug_magic.py index e5d62dc..9be0e24 100644 --- a/IPython/terminal/tests/test_debug_magic.py +++ b/IPython/terminal/tests/test_debug_magic.py @@ -31,9 +31,12 @@ def test_debug_magic_passes_through_generators(): env = os.environ.copy() child = pexpect.spawn(sys.executable, ['-m', 'IPython', '--colors=nocolor', '--simple-prompt'], env=env) - child.timeout = 2 + child.timeout = 15 child.expect(in_prompt) + + child.timeout = 2 + child.sendline("def f(x):") child.sendline(" raise Exception") child.sendline("")