Show More
@@ -77,8 +77,8 b' def test_base64image():' | |||
|
77 | 77 | def test_image_filename_defaults(): |
|
78 | 78 | '''test format constraint, and validity of jpeg and png''' |
|
79 | 79 | tpath = ipath.get_ipython_package_dir() |
|
80 |
|
|
|
81 |
|
|
|
80 | nt.assert_raises(ValueError, display.Image, filename=os.path.join(tpath, 'testing/tests/badformat.zip'), | |
|
81 | embed=True) | |
|
82 | 82 | nt.assert_raises(ValueError, display.Image) |
|
83 | 83 | nt.assert_raises(ValueError, display.Image, data='this is not an image', format='badformat', embed=True) |
|
84 | 84 | # check boths paths to allow packages to test at build and install time |
General Comments 0
You need to be logged in to leave comments.
Login now