Show More
@@ -577,7 +577,7 b' def test_timeit_return_quiet():' | |||
|
577 | 577 | assert (res is not None) |
|
578 | 578 | |
|
579 | 579 | def test_timeit_invalid_return(): |
|
580 |
with nt.assert_raises_regex |
|
|
580 | with nt.assert_raises_regex(SyntaxError, "outside function"): | |
|
581 | 581 | _ip.run_line_magic('timeit', 'return') |
|
582 | 582 | |
|
583 | 583 | @dec.skipif(execution.profile is None) |
General Comments 0
You need to be logged in to leave comments.
Login now