[Python-checkins] cpython: Closes #14729: Allowed test to pass on Windows by adjusting the test condition

vinay.sajip python-checkins at python.org
Sun May 6 12:28:53 CEST 2012


http://hg.python.org/cpython/rev/2e71f25912d4
changeset:   76785:2e71f25912d4
user:        Vinay Sajip <vinay_sajip at yahoo.co.uk>
date:        Sun May 06 11:28:46 2012 +0100
summary:
  Closes #14729: Allowed test to pass on Windows by adjusting the test condition slightly to allow for a Windows-specific error message.

files:
  Lib/test/test_faulthandler.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/test/test_faulthandler.py b/Lib/test/test_faulthandler.py
--- a/Lib/test/test_faulthandler.py
+++ b/Lib/test/test_faulthandler.py
@@ -92,7 +92,7 @@
 ^Fatal Python error: {name}
 
 {header}:
-  File "<string>", line {lineno} in <module>$
+  File "<string>", line {lineno} in <module>
 """.strip()
         regex = regex.format(
             lineno=line_number,

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list