##// 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 / utils / tests
__init__.py Loading ...
test_dir2.py Loading ...
test_imports.py Loading ...
test_importstring.py Loading ...
test_io.py Loading ...
test_jsonutil.py Loading ...
test_module_paths.py Loading ...
test_openpy.py Loading ...
test_path.py Loading ...
test_process.py Loading ...
test_pycolorize.py Loading ...
test_tempdir.py Loading ...
test_text.py Loading ...
test_traitlets.py Loading ...
test_wildcard.py Loading ...