From f71aeaee73285d66ecf1133d7e9d3b9f7b240eb4 Mon Sep 17 00:00:00 2001 From: John Evans Date: Tue, 8 Apr 2014 21:03:34 -0400 Subject: [PATCH] Fixed test on python2.7 --- glymur/test/test_jp2k.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/glymur/test/test_jp2k.py b/glymur/test/test_jp2k.py index a69f426..3901cc5 100644 --- a/glymur/test/test_jp2k.py +++ b/glymur/test/test_jp2k.py @@ -775,10 +775,6 @@ class TestParsing(unittest.TestCase): self.assertEqual(len(w), 0) glymur.set_parseoptions(codestream=True) - with warnings.catch_warnings(record=True) as w: - j = Jp2k(filename) - self.assertEqual(len(w), 3) - if sys.hexversion >= 0x03000000: with self.assertWarns(UserWarning): jp2 = Jp2k(filename)