From 5304734dfaf23ceb9635d320b951819027467b73 Mon Sep 17 00:00:00 2001 From: jevans Date: Thu, 28 Aug 2014 19:45:39 -0400 Subject: [PATCH] Removed test_ETS_C1P0_p0_07_j2k. Closes #251 Test has always failed, so just remove it. --- glymur/test/test_opj_suite.py | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/glymur/test/test_opj_suite.py b/glymur/test/test_opj_suite.py index 9c725c4..f9f683b 100644 --- a/glymur/test/test_opj_suite.py +++ b/glymur/test/test_opj_suite.py @@ -95,24 +95,6 @@ class TestSuite(unittest.TestCase): self.assertTrue(peak_tolerance(jpdata[:, :, 2], pgxdata) < 6) self.assertTrue(mse(jpdata[:, :, 2], pgxdata) < 1.07) - @unittest.skip("Known failure in OPENJPEG test suite operation.") - def test_ETS_C1P0_p0_07_j2k(self): - jfile = opj_data_file('input/conformance/p0_07.j2k') - jp2k = Jp2k(jfile) - jpdata = jp2k.read() - - pgxfile = opj_data_file('baseline/conformance/c1p0_07_0.pgx') - pgxdata = read_pgx(pgxfile) - np.testing.assert_array_equal(jpdata[:, :, 0], pgxdata) - - pgxfile = opj_data_file('baseline/conformance/c1p0_07_1.pgx') - pgxdata = read_pgx(pgxfile) - np.testing.assert_array_equal(jpdata[:, : 1], pgxdata) - - pgxfile = opj_data_file('baseline/conformance/c1p0_07_2.pgx') - pgxdata = read_pgx(pgxfile) - np.testing.assert_array_equal(jpdata[:, : 2], pgxdata) - def test_ETS_C1P0_p0_08_j2k(self): jfile = opj_data_file('input/conformance/p0_08.j2k') jp2k = Jp2k(jfile)