We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1127641 commit 9bcb0e0Copy full SHA for 9bcb0e0
1 file changed
tests/test_magic.py
@@ -438,6 +438,11 @@ def test_time():
438
with tt.AssertPrints("hihi", suppress=False):
439
ip.run_cell("f('hi')")
440
441
+ with tt.AssertPrints("a space"):
442
+ with tt.AssertPrints("Wall time: ", suppress=False):
443
+ with tt.AssertPrints("CPU times: ", suppress=False):
444
+ ip.run_cell("%time print('a space')")
445
+
446
447
# ';' at the end of %time prevents instruction value to be printed.
448
# This tests fix for #13837.
0 commit comments