##// END OF EJS Templates
Backport PR #9965: Allow the debugger to work in code which calls __import__("__main__")...
Backport PR #9965: Allow the debugger to work in code which calls __import__("__main__") this basically resolves 9941 as suggested by takluyver in https://github.com/ipython/ipython/issues/9941 issuecomment-248071079. In summary, it is needed to run e.g. standard unittests within the debugger. For more details see 9941. Signed-off-by: Thomas Kluyver <thomas@kluyver.me.uk>

File last commit:

r13347:54891794
r23137:44edfbe8
Show More
__init__.py
9 lines | 261 B | text/x-python | PythonLexer
try:
from numpy.testing.decorators import *
from numpy.testing.noseclasses import KnownFailure
except ImportError:
from ._decorators import *
try:
from ._numpy_testing_noseclasses import KnownFailure
except ImportError:
pass