##// END OF EJS Templates
move _encode_binary to jsonutil.encode_images...
move _encode_binary to jsonutil.encode_images And fix identification of PNG/JPEG data, which could be double-encoded when using a JSON library that decodes to str instead of unicode (simplejson 2.6, for instance). Changes are tested.
MinRK -
r7737:00142486
Show More
Name Size Modified Last Commit Author
/ IPython / utils / tests
__init__.py Loading ...
test_dir2.py Loading ...
test_imports.py Loading ...
test_io.py Loading ...
test_jsonutil.py Loading ...
test_module_paths.py Loading ...
test_notification.py Loading ...
test_openpy.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 ...