MCPcopy Index your code
hub / github.com/ipython/ipython / test_logging_magic_not_quiet

Function test_logging_magic_not_quiet

tests/test_magic.py:1856–1864  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1854
1855
1856def test_logging_magic_not_quiet():
1857 _ip.config.LoggingMagics.quiet = False
1858 lm = logging.LoggingMagics(shell=_ip)
1859 with TemporaryDirectory() as td:
1860 try:
1861 with tt.AssertPrints(re.compile("Activating.*")):
1862 lm.logstart(os.path.join(td, "not_quiet.log"))
1863 finally:
1864 _ip.logger.logstop()
1865
1866
1867def test_time_no_var_expand():

Callers

nothing calls this directly

Calls 2

logstartMethod · 0.95
logstopMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…