commit | f3eb7d3454685d8dfe45dcba148b6f115b77431b | [log] [tgz] |
---|---|---|
author | Senthil Kumaran <senthil@uthcode.com> | Thu Apr 28 17:00:19 2011 +0800 |
committer | Senthil Kumaran <senthil@uthcode.com> | Thu Apr 28 17:00:19 2011 +0800 |
tree | f3e09effa474ff0f372753905a32fc2b1f3b57c7 | |
parent | 011525ee92eb1c13ad1a62d28725a840e28f8160 [diff] [blame] |
skip the extractall test on platforms where os.symlink is not available.
diff --git a/Lib/test/test_tarfile.py b/Lib/test/test_tarfile.py index ef3bf8b..f78f9ce 100644 --- a/Lib/test/test_tarfile.py +++ b/Lib/test/test_tarfile.py
@@ -843,6 +843,7 @@ finally: os.chdir(cwd) + @unittest.skipUnless(hasattr(os, 'symlink'), "needs os.symlink") def test_extractall_symlinks(self): # Test if extractall works properly when tarfile contains symlinks tempdir = os.path.join(TEMPDIR, "testsymlinks")