Commit bec81709 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

quick hack to support iPython-0.11

parent eca133a9
......@@ -344,6 +344,10 @@ class DebugTestResult:
try:
# try ipython if available
import IPython
try:
IPython.InteractiveShell()
p = IPython.core.debugger.Pdb()
except AttributeError: # for ipython-0.10 or before
IPython.Shell.IPShell(argv=[])
p = IPython.Debugger.Pdb(color_scheme=__IPYTHON__.rc.colors)
p.reset()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment