From 993e669cc4f53ca6eead09d7e8967358b2d2c721 Mon Sep 17 00:00:00 2001 From: John Evans Date: Sat, 15 Mar 2014 11:24:15 -0400 Subject: [PATCH] Fixed test now that openjpeg version has rolled to 2.1.0 --- glymur/test/test_opj_suite_write.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glymur/test/test_opj_suite_write.py b/glymur/test/test_opj_suite_write.py index 8a757aa..91afd8d 100644 --- a/glymur/test/test_opj_suite_write.py +++ b/glymur/test/test_opj_suite_write.py @@ -226,7 +226,7 @@ class TestSuiteWriteCinema(unittest.TestCase): @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(re.match(r"""2\.0""", glymur.version.openjpeg_version), +@unittest.skipIf(not re.match("(1.5|2.0)", glymur.version.openjpeg_version), "Functionality implemented for 2.1") @unittest.skipIf(OPJ_DATA_ROOT is None, "OPJ_OPJ_DATA_ROOT environment variable not set")