Warning
This documentation is for an old version of IPython. You can find docs for newer versions here.
Some simple tests for the plugin while running scripts.
A trivial passing test.
Test running a trivial script.
In [13]: run simplevars.py x is: 1
Test that variables defined in scripts get loaded correcly via %run.
In [13]: run simplevars.py x is: 1
In [14]: x Out[14]: 1
Test that variables defined interactively are picked up. In [5]: zz=1
In [6]: zz Out[6]: 1
DocTest reference holding issues when running scripts.
In [32]: run show_refs.py c referrers: [<... ‘dict’>]