##// END OF EJS Templates
a nicer error message when using %pylab magic...
a nicer error message when using %pylab magic If the user specified an unsupported backend, there was no indication for what the valid names were. Error message prior to this commit: In[1]: %pylab xxx ERROR: Backend u'xxx' not supported. after this commit: In[1]: %pylab xxx ERROR: Backend 'xxx' not supported. Supported backends are: gtk inline osx qt qt4 tk wx

File last commit:

r3692:7403bafc
r11295:cb27e730
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