Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 40d4f15

Browse files
authored
gh-102828: fix test failure (add missing skip instructions) (#102835)
1 parent 382ee2f commit 40d4f15

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Lib/test/test_shutil.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -496,6 +496,10 @@ def check_args_to_onexc(self, func, arg, exc):
496496
self.assertTrue(isinstance(exc, OSError))
497497
self.errorState = 3
498498

499+
@unittest.skipIf(sys.platform[:6] == 'cygwin',
500+
"This test can't be run on Cygwin (issue #1071513).")
501+
@os_helper.skip_if_dac_override
502+
@os_helper.skip_unless_working_chmod
499503
def test_both_onerror_and_onexc(self):
500504
onerror_called = False
501505
onexc_called = False

0 commit comments

Comments
 (0)