Tests failed when OPJ_DATA_ROOT not set.
This commit is contained in:
parent
d51f9cb031
commit
047f9192de
1 changed files with 6 additions and 0 deletions
|
|
@ -6724,6 +6724,8 @@ class TestSuiteDump(unittest.TestCase):
|
|||
[8, 9, 9, 10, 9, 9, 10, 9, 9, 10, 9, 9, 10, 9, 9, 10])
|
||||
|
||||
|
||||
@unittest.skipIf(OPJ_DATA_ROOT is None,
|
||||
"OPJ_DATA_ROOT environment variable not set")
|
||||
@unittest.skipIf(glymur.version.openjpeg_version_tuple[0] == 1,
|
||||
"Feature not supported in glymur until openjpeg 2.0")
|
||||
class TestSuite_bands(unittest.TestCase):
|
||||
|
|
@ -6853,6 +6855,8 @@ class TestSuite_bands(unittest.TestCase):
|
|||
self.assertTrue(True)
|
||||
|
||||
|
||||
@unittest.skipIf(OPJ_DATA_ROOT is None,
|
||||
"OPJ_DATA_ROOT environment variable not set")
|
||||
@unittest.skipIf(glymur.version.openjpeg_version_tuple[0] == 1,
|
||||
"Tests not passing until 2.0")
|
||||
class TestSuite2point0(unittest.TestCase):
|
||||
|
|
@ -6915,6 +6919,8 @@ class TestSuite2point0(unittest.TestCase):
|
|||
self.assertTrue(True)
|
||||
|
||||
|
||||
@unittest.skipIf(OPJ_DATA_ROOT is None,
|
||||
"OPJ_DATA_ROOT environment variable not set")
|
||||
@unittest.skipIf(OPENJP2_IS_V2_OFFICIAL,
|
||||
"Test not in done in v2.0.0 official")
|
||||
@unittest.skipIf(glymur.version.openjpeg_version_tuple[0] == 1,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue