mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
parent
04cecafce1
commit
8c4f4178cb
3 changed files with 8 additions and 7 deletions
|
|
@ -182,6 +182,8 @@ class SysModuleTest(unittest.TestCase):
|
|||
"under Windows, test would generate a spurious crash dialog")
|
||||
code = textwrap.dedent("""
|
||||
import sys
|
||||
import msvcrt
|
||||
msvcrt.SetErrorMode(msvcrt.SEM_FAILCRITICALERRORS)
|
||||
|
||||
def f():
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue