##// END OF EJS Templates
Merge pull request #1495 from rkern/fix-hyperobject-pprint...
Merge pull request #1495 from rkern/fix-hyperobject-pprint BUG: Fix pretty-printing for overzealous objects Some classes use __getattr__ to automatically create requested attributes. The recent trend of LINQ-like query objects is what I ran into. This confuses the pretty-printing machinery that tests for _repr_pretty_. This pull request fixes many of these problems by simply testing if the _repr_pretty_ attribute is callable. This may still be confused by certain mocking frameworks, but it's a good start.
Min RK -
r6272:873e3647 merge
Show More
Name Size Modified Last Commit Author
/ IPython / utils / tests
__init__.py Loading ...
test_imports.py Loading ...
test_io.py Loading ...
test_jsonutil.py Loading ...
test_module_paths.py Loading ...
test_notification.py Loading ...
test_path.py Loading ...
test_process.py Loading ...
test_pycolorize.py Loading ...
test_text.py Loading ...
test_traitlets.py Loading ...
test_wildcard.py Loading ...