diff --git a/ChangeLog b/ChangeLog index 93f4f0a..4c125e9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-04-25 Thomas Vander Stichele + + * morituri/test/test_image_toc.py: + Fix distcheck by writing unicode toc filename in a temp dir. + 2010-04-25 Thomas Vander Stichele * morituri/rip/cd.py: diff --git a/morituri/test/test_image_toc.py b/morituri/test/test_image_toc.py index 461f9ce..70090bf 100644 --- a/morituri/test/test_image_toc.py +++ b/morituri/test/test_image_toc.py @@ -217,7 +217,8 @@ class UnicodeTestCase(common.TestCase, common.UnicodeTestMixin): path = u'Jos\xe9Gonz\xe1lez.toc' self._performer = u'Jos\xe9 Gonz\xe1lez' source = os.path.join(os.path.dirname(__file__), 'jose.toc') - self.dest = os.path.join(os.path.dirname(__file__), path) + (fd, self.dest) = tempfile.mkstemp(suffix=path) + os.close(fd) shutil.copy(source, self.dest) self.toc = toc.TocFile(self.dest) self.toc.parse()