summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-05-16 23:23:02 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-05-16 23:23:02 (GMT)
commitf7e39387b36f3eaad769f6728434fede2aef7b3b (patch)
tree7578f2df83fb1dfea3dd64b851d8e9f27a9ca580
parentc7e0522d42af4611965f770f849c2442cee37178 (diff)
downloadcpython-f7e39387b36f3eaad769f6728434fede2aef7b3b.zip
cpython-f7e39387b36f3eaad769f6728434fede2aef7b3b.tar.gz
cpython-f7e39387b36f3eaad769f6728434fede2aef7b3b.tar.bz2
Fixed issue #16314 test for the case when lzma is not available.
-rw-r--r--Lib/distutils/tests/test_archive_util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/tests/test_archive_util.py b/Lib/distutils/tests/test_archive_util.py
index 81d4c74..02fa1e2 100644
--- a/Lib/distutils/tests/test_archive_util.py
+++ b/Lib/distutils/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')