summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_shutil.py
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2023-03-20 00:03:55 (GMT)
committerGitHub <noreply@github.com>2023-03-20 00:03:55 (GMT)
commit40d4f1579382a16d95ec67f2f03167bc1181dbd9 (patch)
tree16d54090c326563687bbf2ff89614ac780703c44 /Lib/test/test_shutil.py
parent382ee2f0f2be662fbcabcb4a6b38de416cea0cae (diff)
downloadcpython-40d4f1579382a16d95ec67f2f03167bc1181dbd9.zip
cpython-40d4f1579382a16d95ec67f2f03167bc1181dbd9.tar.gz
cpython-40d4f1579382a16d95ec67f2f03167bc1181dbd9.tar.bz2
gh-102828: fix test failure (add missing skip instructions) (#102835)
Diffstat (limited to 'Lib/test/test_shutil.py')
-rw-r--r--Lib/test/test_shutil.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_shutil.py b/Lib/test/test_shutil.py
index fee3e7f..89d65af 100644
--- a/Lib/test/test_shutil.py
+++ b/Lib/test/test_shutil.py
@@ -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