[Python-checkins] r71178 - python/branches/py3k/Lib/test/test_sys.py

antoine.pitrou python-checkins at python.org
Sat Apr 4 19:36:05 CEST 2009


Author: antoine.pitrou
Date: Sat Apr 4 19:36:05 2009
New Revision: 71178
Log:
Skip test_recursionlimit_fatalerror under Windows because it generates an annoying and misleading crash dialog.
Modified:
 python/branches/py3k/Lib/test/test_sys.py
Modified: python/branches/py3k/Lib/test/test_sys.py
==============================================================================
--- python/branches/py3k/Lib/test/test_sys.py	(original)
+++ python/branches/py3k/Lib/test/test_sys.py	Sat Apr 4 19:36:05 2009
@@ -177,6 +177,9 @@
 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
 


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /