mirror of
https://github.com/python/cpython.git
synced 2025-11-01 02:38:53 +00:00
Skip test_recursionlimit_fatalerror under Windows because it generates an annoying and misleading crash dialog.
This commit is contained in:
parent
a646587b8d
commit
17dc4468f3
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue