summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_sys.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_sys.py b/Lib/test/test_sys.py
index 427b721..b81c4fe 100644
--- a/Lib/test/test_sys.py
+++ b/Lib/test/test_sys.py
@@ -177,6 +177,9 @@ class SysModuleTest(unittest.TestCase):
def test_recursionlimit_fatalerror(self):
# A fatal error occurs if a second recursion limit is hit when recovering
# from a first one.
+ if os.name == "nt":
+ raise unittest.SkipTest(
+ "under Windows, test would generate a spurious crash dialog")
code = textwrap.dedent("""
import sys