summaryrefslogtreecommitdiff
path: root/tests/test_archive_util.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-05-17 02:23:02 +0300
committerSerhiy Storchaka <storchaka@gmail.com>2015-05-17 02:23:02 +0300
commita583aac0ebff225a9b138cda7d60047d7f7f462c (patch)
tree42f948cadccbce94ec64b869b34c8302f403d67c /tests/test_archive_util.py
parent766d1fbd091c92d68c85eae404aee1d792c815aa (diff)
downloadpython-setuptools-git-a583aac0ebff225a9b138cda7d60047d7f7f462c.tar.gz
Fixed issue #16314 test for the case when lzma is not available.
Diffstat (limited to 'tests/test_archive_util.py')
-rw-r--r--tests/test_archive_util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_archive_util.py b/tests/test_archive_util.py
index 81d4c74a..02fa1e27 100644
--- a/tests/test_archive_util.py
+++ b/tests/test_archive_util.py
@@ -325,7 +325,7 @@ class ArchiveUtilTestCase(support.TempdirManager,
self.assertEqual(os.path.basename(res), 'archive.tar.bz2')
self.assertEqual(self._tarinfo(res), self._created_files)
- @unittest.skipUnless(bz2, 'Need xz support to run')
+ @unittest.skipUnless(lzma, 'Need xz support to run')
def test_make_archive_xztar(self):
base_dir = self._create_files()
base_name = os.path.join(self.mkdtemp() , 'archive')