def test_timeit_quiet():
 with tt.AssertNotPrints('loops'):
  _ip.run_cell('%timeit -n1 -r1 -q 1')

def test_timeit_quiet ( ) : with tt . AssertNotPrints ( 'loops' ) : _ip . run_cell ( '%timeit -n1 -r1 -q 1' )
test quiet option of timeit magic .