diff --git a/docs/source/roadmap.rst b/docs/source/roadmap.rst index 6651587..5d636a4 100644 --- a/docs/source/roadmap.rst +++ b/docs/source/roadmap.rst @@ -1,3 +1,11 @@ +------------ +Known Issues +------------ + + * Creating a Jp2 file with the irreversible option does not work + on windows. + * Eval-ing a py:meth`repr` string does not work on windows. + ------- Roadmap ------- diff --git a/glymur/test/test_jp2box.py b/glymur/test/test_jp2box.py index da5fea1..e0f12e2 100644 --- a/glymur/test/test_jp2box.py +++ b/glymur/test/test_jp2box.py @@ -572,6 +572,8 @@ class TestPaletteBox(unittest.TestCase): with self.assertRaises(IOError): pclr.write(tfile) + +@unittest.skipIf(os.name == "nt", "Temporary file issue on window.") class TestAppend(unittest.TestCase): """Tests for append method.""" @@ -1292,8 +1294,8 @@ class TestRepr(unittest.TestCase): box = glymur.jp2box.XMLBox(xml=tree) regexp = r"""glymur.jp2box.XMLBox""" - regexp += r"""\(xml=\)""" + regexp += r"""[(]xml=[)]""" if sys.hexversion < 0x03000000: self.assertRegexpMatches(repr(box), regexp) @@ -1357,8 +1359,8 @@ class TestRepr(unittest.TestCase): # Difficult to eval(repr()) this, so just match the general pattern. regexp = "glymur.jp2box.ContiguousCodeStreamBox" - regexp += "\(main_header=