##// END OF EJS Templates
Prevent crash from invalid code such as a bare 'return'....
Prevent crash from invalid code such as a bare 'return'. More generally, catch any exceptions from code that may have parsed into an AST tree but doesn't actually compile. Closes gh-704.

File last commit:

r3692:7403bafc
r4566:1a64b37c
Show More
__init__.py
9 lines | 259 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