gh-102828: fix test failure (add missing skip instructions) (#102835)

This commit is contained in:
Irit Katriel 2023-03-20 00:03:55 +00:00 committed by GitHub
parent 382ee2f0f2
commit 40d4f15793
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -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