Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b8e7f4 commit f108f82Copy full SHA for f108f82
1 file changed
Lib/test/test_tarfile.py
@@ -249,7 +249,6 @@ def test_extract_hardlink(self):
249
data = open(os.path.join(TEMPDIR, "ustar/symtype"), "rb").read()
250
self.assertEqual(md5sum(data), md5_regtype)
251
252
- @unittest.skipUnless(hasattr(os,'symlink'), "needs os.symlink")
253
def test_extractall(self):
254
# Test if extractall() correctly restores directory permissions
255
# and times (see issue1735).
@@ -679,6 +678,7 @@ def exclude(name):
679
678
finally:
680
shutil.rmtree(tempdir)
681
+ @unittest.skipUnless(hasattr(os,'symlink'), "needs os.symlink")
682
def test_extractall_symlinks(self):
683
# Test if extractall works properly when tarfile contains symlinks
684
tempdir = os.path.join(TEMPDIR, "testsymlinks")
0 commit comments