Kaydet (Commit) f3eb7d34 authored tarafından Senthil Kumaran's avatar Senthil Kumaran

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

üst 011525ee
......@@ -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