mirror of https://github.com/python/cpython
gh-102828: fix test failure (add missing skip instructions) (#102835)
This commit is contained in:
parent
382ee2f0f2
commit
40d4f15793
|
@ -496,6 +496,10 @@ class TestRmTree(BaseTest, unittest.TestCase):
|
|||
self.assertTrue(isinstance(exc, OSError))
|
||||
self.errorState = 3
|
||||
|
||||
@unittest.skipIf(sys.platform[:6] == 'cygwin',
|
||||
"This test can't be run on Cygwin (issue #1071513).")
|
||||
@os_helper.skip_if_dac_override
|
||||
@os_helper.skip_unless_working_chmod
|
||||
def test_both_onerror_and_onexc(self):
|
||||
onerror_called = False
|
||||
onexc_called = False
|
||||
|
|
Loading…
Reference in New Issue