mirror of
https://github.com/python/cpython
synced 2026-09-29 10:35:30 +03:00
Closes #23256: Avoid a crash in test_ctypes
Only happened with oddly capitalized debug executables on Windows. Patch by Claudiu Popa.
This commit is contained in:
parent
bd341629b0
commit
465b057f91
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ class WindowsTestCase(unittest.TestCase):
|
|||
@unittest.skipUnless(sys.platform == "win32", 'Windows-specific test')
|
||||
class FunctionCallTestCase(unittest.TestCase):
|
||||
@unittest.skipUnless('MSC' in sys.version, "SEH only supported by MSC")
|
||||
@unittest.skipIf(sys.executable.endswith('_d.exe'),
|
||||
@unittest.skipIf(sys.executable.lower().endswith('_d.exe'),
|
||||
"SEH not enabled in debug builds")
|
||||
def test_SEH(self):
|
||||
# Call functions with invalid arguments, and make sure
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue