mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Issue 19572: More silently skipped tests explicitly skipped.
This commit is contained in:
commit
101d9e7250
35 changed files with 135 additions and 142 deletions
|
@ -753,11 +753,9 @@ class TestShutil(unittest.TestCase):
|
|||
self.assertEqual(os.stat(restrictive_subdir).st_mode,
|
||||
os.stat(restrictive_subdir_dst).st_mode)
|
||||
|
||||
@unittest.skipIf(os.name == 'nt', 'temporarily disabled on Windows')
|
||||
@unittest.skipUnless(hasattr(os, 'link'), 'requires os.link')
|
||||
def test_dont_copy_file_onto_link_to_itself(self):
|
||||
# Temporarily disable test on Windows.
|
||||
if os.name == 'nt':
|
||||
return
|
||||
# bug 851123.
|
||||
os.mkdir(TESTFN)
|
||||
src = os.path.join(TESTFN, 'cheese')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue