Commit 3aa43f58 authored by Senthil Kumaran's avatar Senthil Kumaran

skip the extractall test on platforms where os.symlink is not available.

parent 9f6162a4
......@@ -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")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment