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

Function doctest_run

IPython/testing/plugin/test_refs.py:16–21  ·  view source on GitHub ↗

Test running a trivial script. In [13]: run simplevars.py x is: 1

()

Source from the content-addressed store, hash-verified

14 pass
15
16def doctest_run():
17 """Test running a trivial script.
18
19 In [13]: run simplevars.py
20 x is: 1
21 """
22
23def doctest_runvars():
24 """Test that variables defined in scripts get loaded correctly via %run.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected