diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2009-04-04 17:36:05 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2009-04-04 17:36:05 (GMT) |
commit | 17dc4468f31b53bf605d826178eaa5c76f65d8c5 (patch) | |
tree | bab0a5b66ae8738211100a83beaf4ba6fc1e922f /Lib | |
parent | a646587b8dccfeefbbdc25110686583ba05c5167 (diff) | |
download | cpython-17dc4468f31b53bf605d826178eaa5c76f65d8c5.zip cpython-17dc4468f31b53bf605d826178eaa5c76f65d8c5.tar.gz cpython-17dc4468f31b53bf605d826178eaa5c76f65d8c5.tar.bz2 |
Skip test_recursionlimit_fatalerror under Windows because it generates an annoying and misleading crash dialog.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_sys.py | 3 |
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 |