merge from 3.1
diff --git a/Lib/test/test_tarfile.py b/Lib/test/test_tarfile.py
index f363f70..8036c5c 100644
--- a/Lib/test/test_tarfile.py
+++ b/Lib/test/test_tarfile.py
@@ -351,7 +351,6 @@
finally:
tar.close()
- @support.skip_unless_symlink
def test_extractall(self):
# Test if extractall() correctly restores directory permissions
# and times (see issue1735).
@@ -983,6 +982,8 @@
self.assertEqual(t.name, cmp_path or path.replace(os.sep, "/"))
+
+ @support.skip_unless_symlink
def test_extractall_symlinks(self):
# Test if extractall works properly when tarfile contains symlinks
tempdir = os.path.join(TEMPDIR, "testsymlinks")