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

Function doctest_ivars

IPython/testing/plugin/test_refs.py:33–39  ·  view source on GitHub ↗

Test that variables defined interactively are picked up. In [5]: zz=1 In [6]: zz Out[6]: 1

()

Source from the content-addressed store, hash-verified

31 """
32
33def doctest_ivars():
34 """Test that variables defined interactively are picked up.
35 In [5]: zz=1
36
37 In [6]: zz
38 Out[6]: 1
39 """
40
41def doctest_refs():
42 """DocTest reference holding issues when running scripts.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected