##// 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 / core / tests
__init__.py Loading ...
refbug.py Loading ...
simpleerr.py Loading ...
tclass.py Loading ...
test_autocall.py Loading ...
test_compilerop.py Loading ...
test_completer.py Loading ...
test_fakemodule.py Loading ...
test_formatters.py Loading ...
test_handlers.py Loading ...
test_history.py Loading ...
test_imports.py Loading ...
test_inputsplitter.py Loading ...
test_iplib.py Loading ...
test_magic.py Loading ...
test_oinspect.py Loading ...
test_plugin.py Loading ...
test_prefilter.py Loading ...
test_run.py Loading ...