Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 40d4f15

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

File tree

Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed

‎Lib/test/test_shutil.py

Copy file name to clipboardExpand all lines: Lib/test/test_shutil.py
+4Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.