##// END OF EJS Templates
Fixing image path in IPython.core.tests.
Brian E. Granger -
Show More
@@ -29,7 +29,7 b' def test_image_filename_defaults():'
29 embed=True)
29 embed=True)
30 nt.assert_raises(ValueError, display.Image)
30 nt.assert_raises(ValueError, display.Image)
31 nt.assert_raises(ValueError, display.Image, data='this is not an image', format='badformat', embed=True)
31 nt.assert_raises(ValueError, display.Image, data='this is not an image', format='badformat', embed=True)
32 imgfile = os.path.join(tpath, 'frontend/html/notebook/static/ipynblogo.png')
32 imgfile = os.path.join(tpath, 'frontend/html/notebook/static/base/images/ipynblogo.png')
33 img = display.Image(filename=imgfile)
33 img = display.Image(filename=imgfile)
34 nt.assert_equal('png', img.format)
34 nt.assert_equal('png', img.format)
35 nt.assert_is_not_none(img._repr_png_())
35 nt.assert_is_not_none(img._repr_png_())
General Comments 0
You need to be logged in to leave comments. Login now