def test_deprecated_set_get_parseoption(self): """ Verify deprecated get_parseoptions and set_parseoptions """ with self.assertWarns(DeprecationWarning): glymur.set_parseoptions(full_codestream=True) with self.assertWarns(DeprecationWarning): glymur.get_parseoptions()
def setUp(self): self.jpxfile = glymur.data.jpxfile() self.jp2file = glymur.data.nemo() self.j2kfile = glymur.data.goodstuff() # Reset printoptions for every test. glymur.set_printoptions(short=False, xml=True, codestream=True) glymur.set_parseoptions(full_codestream=False)
def tearDown(self): glymur.set_parseoptions(full_codestream=False)