Added proper unittest.skipIf when skimage.io plugin freeimage not found. #190
This commit is contained in:
parent
ffbf0bdbf8
commit
b614f4818f
1 changed files with 2 additions and 0 deletions
|
|
@ -223,6 +223,8 @@ class TestSuiteWriteCinema(unittest.TestCase):
|
||||||
self.check_cinema2k_codestream(codestream, (1998, 1080))
|
self.check_cinema2k_codestream(codestream, (1998, 1080))
|
||||||
|
|
||||||
|
|
||||||
|
@unittest.skipIf(not _HAS_SKIMAGE_FREEIMAGE_SUPPORT,
|
||||||
|
"Cannot read input image without scikit-image/freeimage")
|
||||||
@unittest.skipIf(os.name == "nt", "Temporary file issue on window.")
|
@unittest.skipIf(os.name == "nt", "Temporary file issue on window.")
|
||||||
@unittest.skipIf(re.match(r"""2\.0""", glymur.version.openjpeg_version),
|
@unittest.skipIf(re.match(r"""2\.0""", glymur.version.openjpeg_version),
|
||||||
"Functionality implemented for 2.1")
|
"Functionality implemented for 2.1")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue