MCPcopy Create free account
hub / github.com/ipython/ipython / test_timeit_quiet

Function test_timeit_quiet

IPython/core/tests/test_magic.py:677–682  ·  view source on GitHub ↗

test quiet option of timeit magic

()

Source from the content-addressed store, hash-verified

675 assert(res is not None)
676
677def test_timeit_quiet():
678 """
679 test quiet option of timeit magic
680 """
681 with tt.AssertNotPrints("loops"):
682 _ip.run_cell("%timeit -n1 -r1 -q 1")
683
684def test_timeit_return_quiet():
685 with tt.AssertNotPrints("loops"):

Callers

nothing calls this directly

Calls 1

run_cellMethod · 0.45

Tested by

no test coverage detected