summaryrefslogtreecommitdiff
path: root/Lib/test
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_sys.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/test/test_sys.py b/Lib/test/test_sys.py
index 8986741757..cac90f4dc9 100644
--- a/Lib/test/test_sys.py
+++ b/Lib/test/test_sys.py
@@ -182,8 +182,6 @@ 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: