summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_tarfile.py
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2011-04-29 22:12:25 (GMT)
committerSenthil Kumaran <senthil@uthcode.com>2011-04-29 22:12:25 (GMT)
commit4a0afa224c27418cafea46f5b835e4932ac8b148 (patch)
tree16491c498dafc47cf91e856d1010bae03d7a8df5 /Lib/test/test_tarfile.py
parent5d9deaa9d852cefe32b9baa68827922d512adafc (diff)
parentbe5dbebeaa012d383c0d9f4da39b68c4b04b5775 (diff)
downloadcpython-4a0afa224c27418cafea46f5b835e4932ac8b148.zip
cpython-4a0afa224c27418cafea46f5b835e4932ac8b148.tar.gz
cpython-4a0afa224c27418cafea46f5b835e4932ac8b148.tar.bz2
Wrap the correct test with the skip decorator for the issue10761.
merge from 3.2.
Diffstat (limited to 'Lib/test/test_tarfile.py')
-rw-r--r--Lib/test/test_tarfile.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_tarfile.py b/Lib/test/test_tarfile.py
index 3d77ed5..461518c 100644
--- a/Lib/test/test_tarfile.py
+++ b/Lib/test/test_tarfile.py
@@ -351,7 +351,6 @@ class MiscReadTest(CommonReadTest):
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 @@ class WriteTest(WriteTestBase):
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")