##// END OF EJS Templates
Use istype() when checking if canned object is a dict...
Use istype() when checking if canned object is a dict Using istype(canned, dict) instead of isinstance(canned, dict) ensures that dict subclasses retain their type during unserialization. This also agrees with the implementation of serialize_object().
Stephan Rave -
r12199:6a72b2cc
Show More
Name Size Modified Last Commit Author
/ IPython / nbconvert / exporters / tests
files
__init__.py Loading ...
base.py Loading ...
cheese.py Loading ...
test_export.py Loading ...
test_exporter.py Loading ...
test_html.py Loading ...
test_latex.py Loading ...
test_markdown.py Loading ...
test_python.py Loading ...
test_rst.py Loading ...
test_slides.py Loading ...