diff options
author | Senthil Kumaran <senthil@uthcode.com> | 2011-04-28 09:05:55 (GMT) |
---|---|---|
committer | Senthil Kumaran <senthil@uthcode.com> | 2011-04-28 09:05:55 (GMT) |
commit | e3bdcf4ffd51a9cf8c066d9f815c3bf650a94dbb (patch) | |
tree | 0eaa0f1eb7975271660b59c1771c2de37ce04dc8 | |
parent | 123932f2370ba4989cd14ba01cd9721fe456c7d3 (diff) | |
download | cpython-e3bdcf4ffd51a9cf8c066d9f815c3bf650a94dbb.zip cpython-e3bdcf4ffd51a9cf8c066d9f815c3bf650a94dbb.tar.gz cpython-e3bdcf4ffd51a9cf8c066d9f815c3bf650a94dbb.tar.bz2 |
skip the extractall test on platforms where os.symlink is not available.
-rw-r--r-- | Lib/test/test_tarfile.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_tarfile.py b/Lib/test/test_tarfile.py index 487f28f..a086c63 100644 --- a/Lib/test/test_tarfile.py +++ b/Lib/test/test_tarfile.py @@ -249,6 +249,7 @@ class MiscReadTest(ReadTest): data = open(os.path.join(TEMPDIR, "ustar/symtype"), "rb").read() self.assertEqual(md5sum(data), md5_regtype) + @unittest.skipUnless(hasattr(os,'symlink'), "needs os.symlink") def test_extractall(self): # Test if extractall() correctly restores directory permissions # and times (see issue1735). |