##// END OF EJS Templates
Limit special-casing of _ variable to doctests....
Limit special-casing of _ variable to doctests. In doctests, _ *must* be special-cased and removed from the user's namespace because otherwise Python won't set it. But we were doing this special-casing unconditionally, making it impossible to write unittests that checked the _ variable after cell execution. This commit makes the special-casing of _ apply only in the doctest execution (where it's needed) and leaves normal unittests alone.
Fernando Perez -
r3299:827b2686
Show More
Name Size Modified Last Commit Author
/ IPython / testing
plugin
tests
__init__.py Loading ...
_paramtestpy2.py Loading ...
_paramtestpy3.py Loading ...
decorators.py Loading ...
decorators_trial.py Loading ...
globalipapp.py Loading ...
iptest.py Loading ...
ipunittest.py Loading ...
mkdoctests.py Loading ...
nosepatch.py Loading ...
parametric.py Loading ...
tools.py Loading ...
util.py Loading ...