mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
skip the extractall test on platforms where os.symlink is not available.
This commit is contained in:
parent
123932f237
commit
e3bdcf4ffd
1 changed files with 1 additions and 0 deletions
|
@ -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).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue