##// END OF EJS Templates
Merge pull request #1535 from doerwalter/master...
Merge pull request #1535 from doerwalter/master Fix pretty printing dispatch. This patch fixes a problem mentioned here: http://mail.scipy.org/pipermail/ipython-dev/2012-March/008874.html Search for the best method to use for pretty printing an object now no longer prefers any registered printer in `type_printers` for the class or any of the base classes over a `_repr_pretty_` method defined in the class or any of its base classes. Instead the mro is walked, looking for both registered printers and `_repr_pretty_` methods, so that the inheritance hierarchy will be taken into account.

File last commit:

r3692:7403bafc
r6483:81039be0 merge
Show More
__init__.py
9 lines | 259 B | text/x-python | PythonLexer
Thomas Spura
Unbundle of all external modules....
r3408 try:
from numpy.testing.decorators import *
Paul Ivanov
make know failures report as 'K'...
r3511 from numpy.testing.noseclasses import KnownFailure
Thomas Spura
Unbundle of all external modules....
r3408 except ImportError:
Thomas Spura
import from module and not from module.py...
r3412 from _decorators import *
MinRK
don't unconditionally import nose...
r3692 try:
from _numpy_testing_noseclasses import KnownFailure
except ImportError:
pass