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

Function test_code_name

IPython/core/tests/test_compilerop.py:30–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28#-----------------------------------------------------------------------------
29
30def test_code_name():
31 code = 'x=1'
32 name = compilerop.code_name(code)
33 nt.assert_true(name.startswith('<ipython-input-0'))
34
35
36def test_code_name2():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected