##// 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:

r23929:a8febde5
r23967:13328af1
Show More
development.rst
21 lines | 520 B | text/x-rst | RstLexer
Matthias Bussonnier
back to development
r23561 =====================
Development version
=====================
This document describes in-flight development work.
.. warning::
Please do not edit this file by hand (doing so will likely cause merge
conflicts for other Pull Requests). Instead, create a new file in the
`docs/source/whatsnew/pr` folder
Matthias Bussonnier
Regen What's new
r23693
Matthias Bussonnier
back to development
r23561 .. DO NOT EDIT THIS LINE BEFORE RELEASE. FEATURE INSERTION POINT.
Backwards incompatible changes
------------------------------
.. DO NOT EDIT THIS LINE BEFORE RELEASE. INCOMPAT INSERTION POINT.