oops, filename

This commit is contained in:
John Cupitt 2016-05-27 16:59:21 +01:00
parent f0521d4b5d
commit 0b646ffcc7

View File

@ -245,12 +245,11 @@ class TestForeign(unittest.TestCase):
x = Vips.Image.new_from_file(self.tiff_file)
x = x.copy()
x.set_value("orientation", 2)
x.write_to_file("test.tif")
x = Vips.Image.new_from_file("test.tif")
x.write_to_file("test-11.tif")
x = Vips.Image.new_from_file("test-11.tif")
y = x.get_value("orientation")
self.assertEqual(y, 2)
os.unlink("test.tif")
os.unlink("test-11.tif")
def test_magickload(self):
x = Vips.type_find("VipsForeign", "magickload")