mirror of
https://github.com/python/cpython.git
synced 2025-08-30 13:38:43 +00:00
Wrap the testskip decorator for the proper test to resolve bb failure.
This commit is contained in:
parent
8b8e7f467f
commit
f108f8258e
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,6 @@ 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).
|
||||
|
@ -679,6 +678,7 @@ class WriteTest(WriteTestBase):
|
|||
finally:
|
||||
shutil.rmtree(tempdir)
|
||||
|
||||
@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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue