##// END OF EJS Templates
Protect against absent global IPython instance....
Protect against absent global IPython instance. This basically applies most of the changes to ultraTB made by Brian in the reorg branch here: http://bazaar.launchpad.net/~ipython-dev/ipython/module-reorg/revision/1225 To our duplicate copies of ultraTB (the duplication is already gone in the reorg branch). This now means that the trial-based tests run fine if executed as trial IPython OR trial IPython.kernel where as the latter form was failing before. The reason why the former used to work was that a hidden global ipython is created, *upon import*, by ipdoctest. That will stay for now, but I've made it bug https://bugs.launchpad.net/ipython/+bug/409096 marked as critical for 0.11 that I'll need to fix.
Fernando Perez -
r2162:b249b13f
Show More
Name Size Modified Last Commit Author
/ IPython / kernel / core
config
tests
__init__.py Loading ...
display_formatter.py Loading ...
display_trap.py Loading ...
error.py Loading ...
fd_redirector.py Loading ...
file_like.py Loading ...
history.py Loading ...
interpreter.py Loading ...
macro.py Loading ...
magic.py Loading ...
message_cache.py Loading ...
notification.py Loading ...
output_trap.py Loading ...
prompts.py Loading ...
redirector_output_trap.py Loading ...
sync_traceback_trap.py Loading ...
traceback_formatter.py Loading ...
traceback_trap.py Loading ...
ultraTB.py Loading ...
util.py Loading ...