From 4132623024a668312a2fd6f0609934525576afb2 Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Sat, 27 Apr 2019 09:34:49 +0100 Subject: [PATCH] add test for PNG interlace handling see https://github.com/libvips/libvips/pull/1296 --- test/test-suite/test_foreign.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/test-suite/test_foreign.py b/test/test-suite/test_foreign.py index 9af31842..83c65b21 100644 --- a/test/test-suite/test_foreign.py +++ b/test/test-suite/test_foreign.py @@ -233,7 +233,6 @@ class TestForeign: # format area at the end assert y.startswith("hello world") - @skip_if_no("pngload") def test_png(self): def png_valid(im): @@ -248,6 +247,8 @@ class TestForeign: self.save_load_buffer("pngsave_buffer", "pngload_buffer", self.colour) self.save_load("%s.png", self.mono) self.save_load("%s.png", self.colour) + self.save_load_file(".png", "[interlace]", self.colour, 0) + self.save_load_file(".png", "[interlace]", self.mono, 0) @skip_if_no("tiffload") def test_tiff(self):