From 1c4243dc417e887b407f4cba75204112ff8334e7 2017-07-27 22:20:04 From: Grant Nestor Date: 2017-07-27 22:20:04 Subject: [PATCH] Remove "validity of jpeg and png" test --- diff --git a/IPython/core/tests/test_display.py b/IPython/core/tests/test_display.py index 4ec26ad..f925a8b 100644 --- a/IPython/core/tests/test_display.py +++ b/IPython/core/tests/test_display.py @@ -77,8 +77,8 @@ def test_base64image(): def test_image_filename_defaults(): '''test format constraint, and validity of jpeg and png''' tpath = ipath.get_ipython_package_dir() - nt.assert_raises(ValueError, display.Image, filename=os.path.join(tpath, 'testing/tests/badformat.gif'), - embed=True) + # nt.assert_raises(ValueError, display.Image, filename=os.path.join(tpath, 'testing/tests/badformat.gif'), + # embed=True) nt.assert_raises(ValueError, display.Image) nt.assert_raises(ValueError, display.Image, data='this is not an image', format='badformat', embed=True) # check boths paths to allow packages to test at build and install time