skip the extractall test on platforms where os.symlink is not available.
This commit is contained in:
parent
011525ee92
commit
f3eb7d3454
|
@ -843,6 +843,7 @@ class WriteTest(WriteTestBase):
|
|||
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…
Reference in New Issue