diff --git a/Lib/test/test_shutil.py b/Lib/test/test_shutil.py index fee3e7f765639a..89d65af3bc5b2b 100644 --- a/Lib/test/test_shutil.py +++ b/Lib/test/test_shutil.py @@ -496,6 +496,10 @@ def check_args_to_onexc(self, func, arg, exc): 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