summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2009-04-04 17:36:05 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2009-04-04 17:36:05 (GMT)
commit17dc4468f31b53bf605d826178eaa5c76f65d8c5 (patch)
treebab0a5b66ae8738211100a83beaf4ba6fc1e922f /Lib/test
parenta646587b8dccfeefbbdc25110686583ba05c5167 (diff)
downloadcpython-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/test')
-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