##// END OF EJS Templates
Change after running darker.
nfgf -
Show More
@@ -416,6 +416,7 b' def test_time():'
416 with tt.AssertPrints("hihi", suppress=False):
416 with tt.AssertPrints("hihi", suppress=False):
417 ip.run_cell("f('hi')")
417 ip.run_cell("f('hi')")
418
418
419
419 # ';' at the end of %time prevents instruction value to be printed.
420 # ';' at the end of %time prevents instruction value to be printed.
420 # This tests fix for #13837
421 # This tests fix for #13837
421 def test_time_no_outputwith_semicolon():
422 def test_time_no_outputwith_semicolon():
@@ -431,6 +432,7 b' def test_time_no_outputwith_semicolon():'
431 with tt.AssertPrints("CPU times: ", suppress=False):
432 with tt.AssertPrints("CPU times: ", suppress=False):
432 ip.run_cell("%time 123000+456;")
433 ip.run_cell("%time 123000+456;")
433
434
435
434 def test_time_last_not_expression():
436 def test_time_last_not_expression():
435 ip.run_cell("%%time\n"
437 ip.run_cell("%%time\n"
436 "var_1 = 1\n"
438 "var_1 = 1\n"
General Comments 0
You need to be logged in to leave comments. Login now