From 722aa326da908f5984b1ccca15bfc4c68919986d 2014-03-05 19:05:59 From: MinRK Date: 2014-03-05 19:05:59 Subject: [PATCH] add note about PIL's jpeg support --- diff --git a/IPython/core/tests/test_pylabtools.py b/IPython/core/tests/test_pylabtools.py index 735332a..aed981f 100644 --- a/IPython/core/tests/test_pylabtools.py +++ b/IPython/core/tests/test_pylabtools.py @@ -62,6 +62,8 @@ def test_figure_to_svg(): def _check_pil_jpeg_bytes(): """Skip if PIL can't write JPEGs to BytesIO objects""" + # PIL's JPEG plugin can't write to BytesIO objects + # Pillow fixes this from PIL import Image buf = BytesIO() img = Image.new("RGB", (4,4))