[Python-checkins] cpython (merge 3.2 -> default): Wrap the correct test with the skip decorator for the issue10761.

senthil.kumaran python-checkins at python.org
Sat Apr 30 00:12:43 CEST 2011


http://hg.python.org/cpython/rev/2665a28643b8
changeset:   69697:2665a28643b8
parent:      69693:4e3ff53b6f59
parent:      69696:fc5db1cd4ebf
user:        Senthil Kumaran <senthil at uthcode.com>
date:        Sat Apr 30 06:12:25 2011 +0800
summary:
  Wrap the correct test with the skip decorator for the issue10761.
merge from 3.2.

files:
  Lib/test/test_tarfile.py |  3 ++-
  1 files changed, 2 insertions(+), 1 deletions(-)


diff --git a/Lib/test/test_tarfile.py b/Lib/test/test_tarfile.py
--- 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")

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list