##// END OF EJS Templates
Always reset after `%run -i` in tests....
Always reset after `%run -i` in tests. Currently, `IPython/core/tests/run_tests.py` has a few tests that do `run -i`, which has side-effects on the IPython environment shared by all tests. In particular, setting `__file__` in the global namespace leads to traceback handling in `ultratb` getting confused, since it no longer knows which file to look in. This fixes existing uses of `run -i`, and adds a note reminding future travelers to be careful when adding new cases.

File last commit:

r23848:03bb4e4c merge
r23967:13328af1
Show More
.gitignore
25 lines | 400 B | text/plain | TextLexer
MANIFEST
build
dist
_build
docs/man/*.gz
docs/source/api/generated
docs/source/config/options
docs/source/config/shortcuts/*.csv
docs/source/interactive/magics-generated.txt
docs/source/config/shortcuts/*.csv
docs/gh-pages
jupyter_notebook/notebook/static/mathjax
jupyter_notebook/static/style/*.map
*.py[co]
__pycache__
*.egg-info
*~
*.bak
.ipynb_checkpoints
.tox
.DS_Store
\#*#
.#*
.coverage
*.swp