Do not require jpg support from io plugins in novice test

This commit is contained in:
Steven Silvester
2014-10-05 07:07:19 -05:00
parent b4b7760a9c
commit e6270c52b6
+2 -2
View File
@@ -143,14 +143,14 @@ def test_update_on_save():
assert pic.modified
assert pic.path is None
fd, filename = tempfile.mkstemp(suffix=".jpg")
fd, filename = tempfile.mkstemp(suffix=".png")
os.close(fd)
try:
pic.save(filename)
assert not pic.modified
assert_equal(pic.path, os.path.abspath(filename))
assert_equal(pic.format, "jpeg")
assert_equal(pic.format, "png")
finally:
os.unlink(filename)