Commit be5dbebe authored by Senthil Kumaran's avatar Senthil Kumaran

merge from 3.1

parents 08fd8d93 f108f825
...@@ -351,7 +351,6 @@ class MiscReadTest(CommonReadTest): ...@@ -351,7 +351,6 @@ class MiscReadTest(CommonReadTest):
finally: finally:
tar.close() tar.close()
@support.skip_unless_symlink
def test_extractall(self): def test_extractall(self):
# Test if extractall() correctly restores directory permissions # Test if extractall() correctly restores directory permissions
# and times (see issue1735). # and times (see issue1735).
...@@ -983,6 +982,8 @@ class WriteTest(WriteTestBase): ...@@ -983,6 +982,8 @@ class WriteTest(WriteTestBase):
self.assertEqual(t.name, cmp_path or path.replace(os.sep, "/")) self.assertEqual(t.name, cmp_path or path.replace(os.sep, "/"))
@support.skip_unless_symlink
def test_extractall_symlinks(self): def test_extractall_symlinks(self):
# Test if extractall works properly when tarfile contains symlinks # Test if extractall works properly when tarfile contains symlinks
tempdir = os.path.join(TEMPDIR, "testsymlinks") 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