diff --git a/test/test-suite/test_foreign.py b/test/test-suite/test_foreign.py index 92104d08..fba9ec49 100644 --- a/test/test-suite/test_foreign.py +++ b/test/test-suite/test_foreign.py @@ -771,6 +771,10 @@ class TestForeign: self.file_loader("openslideload", OPENSLIDE_FILE, openslide_valid) + source = pyvips.Source.new_from_file(OPENSLIDE_FILE) + x = pyvips.Image.new_from_source(source, "") + assert openslide_valid(x) + @skip_if_no("pdfload") def test_pdfload(self): def pdf_valid(im):