merge from 3.1

This commit is contained in:
Senthil Kumaran 2011-04-30 06:09:51 +08:00
commit be5dbebeaa

View file

@ -351,7 +351,6 @@ def test_extract_hardlink(self):
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 @@ def _test_pathname(self, path, cmp_path=None, dir=False):
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")