mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
Fixed issue #16314 test for the case when lzma is not available.
This commit is contained in:
parent
c7e0522d42
commit
f7e39387b3
1 changed files with 1 additions and 1 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue