1. Armin Rigo
  2. cpython-withatomic

Commits

Antoine Pitrou  committed 2aadc1a

Skip test_recursionlimit_fatalerror under Windows because it generates an annoying and misleading crash dialog.

  • Participants
  • Parent commits cb47815
  • Branches default

Comments (0)

Files changed (1)

File Lib/test/test_sys.py

View file
     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