##// END OF EJS Templates
Fix Python 3 handling of urllib...
Fix Python 3 handling of urllib Added try/except blocks to properly import moved methods in the urllib and urllib2 modules. This would break things including `%load`ing scripts by url and installing a local copy of MathJax.

File last commit:

r13347:54891794
r13640:18bbdacf
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