Skip to content

Commit 37c29f3

Browse files
committed
Skip test_regrtest test on non-Windows platforms
1 parent f91745a commit 37c29f3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Lib/test/test_regrtest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1383,6 +1383,7 @@ def test_leak(self):
13831383
self.check_leak(code, 'file descriptors')
13841384

13851385
@unittest.skipUnless(support.Py_DEBUG, 'need a debug build')
1386+
@unittest.skipUnless(support.MS_WINDOWS, 'test specific to Windows')
13861387
def test_huntrleaks_handle_leak(self):
13871388
# test --huntrleaks for Windows handle leak
13881389
code = textwrap.dedent("""

0 commit comments

Comments
 (0)