pinpointed test_main_header as culprit for 3 unexplained failures

This commit is contained in:
jevans 2014-09-24 20:59:39 -04:00
commit 2e55a0a8a8
3 changed files with 1 additions and 3 deletions

View file

@ -1139,6 +1139,7 @@ class TestParsing(unittest.TestCase):
with self.assertWarnsRegex(UserWarning, 'Invalid profile'):
jp2 = Jp2k(filename)
@unittest.skip('trouble is a brewing...')
def test_main_header(self):
"""Verify that the main header is not loaded when parsing turned off."""
# The hidden _main_header attribute should show up after accessing it.

View file

@ -2851,7 +2851,6 @@ class TestSuiteWarns(MetadataBase):
d = j.read()
self.assertTrue(True)
@unittest.skip("unexplained failure")
def test_NR_broken4_jp2_dump(self):
jfile = opj_data_file('input/nonregression/broken4.jp2')
with self.assertWarns(UserWarning):
@ -2944,7 +2943,6 @@ class TestSuiteWarns(MetadataBase):
self.assertEqual(c.segment[6].exponent,
[8] + [9, 9, 10] * 5)
@unittest.skip("unexplained failure")
def test_NR_broken2_jp2_dump(self):
"""
Invalid marker ID in the codestream.

View file

@ -854,7 +854,6 @@ class TestPrintingOpjDataRootWarns(unittest.TestCase):
with patch('sys.stdout', new=StringIO()) as fake_out:
print(jp2)
@unittest.skip("unexplained failure")
def test_bad_rsiz(self):
"""Should still be able to print if rsiz is bad, issue196"""
filename = opj_data_file('input/nonregression/edf_c2_1002767.jp2')