diff options
| author | Kristján Valur Jónsson <kristjan@ccpgames.com> | 2009-07-04 15:09:25 +0000 |
|---|---|---|
| committer | Kristján Valur Jónsson <kristjan@ccpgames.com> | 2009-07-04 15:09:25 +0000 |
| commit | 8c4f4178cbd22b49c19f56baa0b305cbb64b9e94 (patch) | |
| tree | 516713e2c2ac59691d26bac2a20f1fb3708c9efa /Lib/test/test_sys.py | |
| parent | 04cecafce10abc8906a96aa16c0a7a87d9fb8227 (diff) | |
| download | cpython-git-8c4f4178cbd22b49c19f56baa0b305cbb64b9e94.tar.gz | |
http://bugs.python.org/issue6381
merging revision 73819 from trunk
Diffstat (limited to 'Lib/test/test_sys.py')
| -rw-r--r-- | Lib/test/test_sys.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_sys.py b/Lib/test/test_sys.py index cac90f4dc9..8986741757 100644 --- a/Lib/test/test_sys.py +++ b/Lib/test/test_sys.py @@ -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: |
