mirror of
https://github.com/python/cpython.git
synced 2026-03-06 04:50:58 +00:00
skip the extractall test on platforms where os.symlink is not available.
This commit is contained in:
parent
011525ee92
commit
f3eb7d3454
1 changed files with 1 additions and 0 deletions
|
|
@ -843,6 +843,7 @@ def test_cwd(self):
|
|||
finally:
|
||||
os.chdir(cwd)
|
||||
|
||||
@unittest.skipUnless(hasattr(os, 'symlink'), "needs os.symlink")
|
||||
def test_extractall_symlinks(self):
|
||||
# Test if extractall works properly when tarfile contains symlinks
|
||||
tempdir = os.path.join(TEMPDIR, "testsymlinks")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue