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

Function test_logstart_unicode

tests/test_logger.py:20–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18
19
20def test_logstart_unicode():
21 with TemporaryDirectory() as tdir:
22 logfname = os.path.join(tdir, "test_unicode.log")
23 _ip.run_cell("'abc€'")
24 try:
25 _ip.run_line_magic("logstart", "-to %s" % logfname)
26 _ip.run_cell("'abc€'")
27 finally:
28 _ip.logger.logstop()

Callers

nothing calls this directly

Calls 3

run_line_magicMethod · 0.80
run_cellMethod · 0.45
logstopMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…