diff --git "a/tests/data/t '\".xz" b/tests/data/t .xz similarity index 100% rename from "tests/data/t '\".xz" rename to tests/data/t .xz diff --git a/tests/test_archives.py b/tests/test_archives.py index 11eb080..283e6b6 100644 --- a/tests/test_archives.py +++ b/tests/test_archives.py @@ -285,9 +285,9 @@ class TestArchives (ArchiveTest): @needs_program('xz') def test_xz (self): self.program = 'xz' - self.archive_test('t \'".xz') - self.archive_extract('t \'".xz') - self.archive_create('t \'".xz', singlefile=True) + self.archive_test('t .xz') + self.archive_extract('t .xz') + self.archive_create('t .xz', singlefile=True) @needs_program('lha') def test_lha (self): diff --git a/tests/test_mime.py b/tests/test_mime.py index 00c0400..170e8b8 100644 --- a/tests/test_mime.py +++ b/tests/test_mime.py @@ -95,7 +95,7 @@ class TestMime (unittest.TestCase): self.mime_test_file("t.tgz.foo", "application/x-tar", "gzip") self.mime_test_file("t.txt.gz", "application/x-gzip", None) self.mime_test_file("t.txt.gz.foo", "application/x-gzip", None) - self.mime_test_file("t '\".xz", "application/x-xz", None) + self.mime_test_file("t .xz", "application/x-xz", None) self.mime_test_file("t.xz.foo", "application/x-xz", None) self.mime_test_file("t.Z", "application/x-compress", None) self.mime_test_file("t.Z.foo", "application/x-compress", None) @@ -148,7 +148,7 @@ class TestMime (unittest.TestCase): self.mime_test_mimedb("t.tbz2", "application/x-tar", "bzip2") self.mime_test_mimedb("t.tgz", "application/x-tar", "gzip") self.mime_test_mimedb("t.txt.gz", "application/x-gzip", None) - self.mime_test_mimedb("t '\".xz", "application/x-xz", None) + self.mime_test_mimedb("t .xz", "application/x-xz", None) self.mime_test_mimedb("t.Z", "application/x-compress", None) self.mime_test_mimedb("t.zip", "application/zip", None) self.mime_test_mimedb("t.ace", "application/x-ace", None)