Exemple #1
0
 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()
Exemple #2
0
    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)
Exemple #3
0
 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()
Exemple #4
0
 def tearDown(self):
     glymur.set_parseoptions(full_codestream=False)