backwards compatibility tests need to be filtered out on some platforms
The need to verify the warning means that the python-six issue applies.
This commit is contained in:
parent
2a3128e983
commit
a35ebe1836
1 changed files with 3 additions and 0 deletions
|
|
@ -30,6 +30,7 @@ suite.
|
||||||
import re
|
import re
|
||||||
import sys
|
import sys
|
||||||
import unittest
|
import unittest
|
||||||
|
import warnings
|
||||||
|
|
||||||
import numpy as np
|
import numpy as np
|
||||||
|
|
||||||
|
|
@ -727,6 +728,7 @@ class TestSuite2point1(unittest.TestCase):
|
||||||
odata = jp2k[:]
|
odata = jp2k[:]
|
||||||
np.testing.assert_array_equal(tdata, odata[896:1024, 896:1024])
|
np.testing.assert_array_equal(tdata, odata[896:1024, 896:1024])
|
||||||
|
|
||||||
|
@unittest.skipIf(WARNING_INFRASTRUCTURE_ISSUE, WARNING_INFRASTRUCTURE_MSG)
|
||||||
def test_NR_DEC_p1_04_j2k_57_decode_0p7_backwards_compatibility(self):
|
def test_NR_DEC_p1_04_j2k_57_decode_0p7_backwards_compatibility(self):
|
||||||
"""
|
"""
|
||||||
0.7.x usage deprecated
|
0.7.x usage deprecated
|
||||||
|
|
@ -744,6 +746,7 @@ class TestSuite2point1(unittest.TestCase):
|
||||||
odata = jp2k[:]
|
odata = jp2k[:]
|
||||||
np.testing.assert_array_equal(tdata, odata[896:1024, 896:1024])
|
np.testing.assert_array_equal(tdata, odata[896:1024, 896:1024])
|
||||||
|
|
||||||
|
@unittest.skipIf(WARNING_INFRASTRUCTURE_ISSUE, WARNING_INFRASTRUCTURE_MSG)
|
||||||
def test_NR_DEC_p1_04_j2k_58_decode_0p7_backwards_compatibility(self):
|
def test_NR_DEC_p1_04_j2k_58_decode_0p7_backwards_compatibility(self):
|
||||||
"""
|
"""
|
||||||
0.7.x usage deprecated
|
0.7.x usage deprecated
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue