diff options
Diffstat (limited to 'test/libtest.py')
| -rw-r--r-- | test/libtest.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/libtest.py b/test/libtest.py index a9ef383..e0c2f57 100644 --- a/test/libtest.py +++ b/test/libtest.py | |||
| @@ -132,8 +132,7 @@ class TestArchiveProcessing(test.MATTest): | |||
| 132 | def test_get_unsupported(self): | 132 | def test_get_unsupported(self): |
| 133 | tarpath = os.path.join(self.tmpdir, "test.tar.bz2") | 133 | tarpath = os.path.join(self.tmpdir, "test.tar.bz2") |
| 134 | tar = tarfile.open(tarpath, "w") | 134 | tar = tarfile.open(tarpath, "w") |
| 135 | for clean,dirty in self.file_list[:4]: # we don't test thoses | 135 | for clean,_ in self.file_list[:4]: # we don't test thoses |
| 136 | tar.add(dirty) | ||
| 137 | tar.add(clean) | 136 | tar.add(clean) |
| 138 | for f in ('../mat.desktop', '../README.security', '../setup.py'): | 137 | for f in ('../mat.desktop', '../README.security', '../setup.py'): |
| 139 | tar.add(f, f[3:]) # trim '../' | 138 | tar.add(f, f[3:]) # trim '../' |
