add a test for openslideload_source

This commit is contained in:
John Cupitt 2020-12-30 18:01:54 +00:00
parent babbb086f9
commit 233609368b

View File

@ -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):