Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ipython/ipython
/ test_code_name2
Function
test_code_name2
IPython/core/tests/test_compilerop.py:36–39 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
34
35
36
def
test_code_name2():
37
code =
'x=1'
38
name = compilerop.code_name(code, 9)
39
nt.assert_true(name.startswith(
'<ipython-input-9'
))
40
41
42
def
test_cache():
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected