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

Function f

IPython/core/tests/refbug.py:38–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36
37 aglobal = 'Hello'
38 def f():
39 return aglobal
40
41 cache = ip.user_ns['_refbug_cache']
42 cache.append(f)

Callers 15

test_prettyFunction · 0.70
test_precisionFunction · 0.70
test_error_methodFunction · 0.70
test_warn_error_for_typeFunction · 0.70
test_error_pretty_methodFunction · 0.70
test_bad_repr_tracebackFunction · 0.70
test_pdf_formatterFunction · 0.70
test_print_method_boundFunction · 0.70
test_print_method_weirdFunction · 0.70
test_format_configFunction · 0.70

Calls

no outgoing calls

Tested by 14

test_prettyFunction · 0.56
test_precisionFunction · 0.56
test_error_methodFunction · 0.56
test_warn_error_for_typeFunction · 0.56
test_error_pretty_methodFunction · 0.56
test_bad_repr_tracebackFunction · 0.56
test_pdf_formatterFunction · 0.56
test_print_method_boundFunction · 0.56
test_print_method_weirdFunction · 0.56
test_format_configFunction · 0.56