Show More
@@ -31,9 +31,12 b' def test_debug_magic_passes_through_generators():' | |||||
31 | env = os.environ.copy() |
|
31 | env = os.environ.copy() | |
32 | child = pexpect.spawn(sys.executable, ['-m', 'IPython', '--colors=nocolor', '--simple-prompt'], |
|
32 | child = pexpect.spawn(sys.executable, ['-m', 'IPython', '--colors=nocolor', '--simple-prompt'], | |
33 | env=env) |
|
33 | env=env) | |
34 |
child.timeout = |
|
34 | child.timeout = 15 | |
35 |
|
35 | |||
36 | child.expect(in_prompt) |
|
36 | child.expect(in_prompt) | |
|
37 | ||||
|
38 | child.timeout = 2 | |||
|
39 | ||||
37 | child.sendline("def f(x):") |
|
40 | child.sendline("def f(x):") | |
38 | child.sendline(" raise Exception") |
|
41 | child.sendline(" raise Exception") | |
39 | child.sendline("") |
|
42 | child.sendline("") |
General Comments 0
You need to be logged in to leave comments.
Login now