From: Vinay Sajip Date: Sun, 6 May 2012 10:28:46 +0000 (+0100) Subject: Closes #14729: Allowed test to pass on Windows by adjusting the test condition slight... X-Git-Tag: v3.3.0a4~261 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=363712349a2b6e2a3f4257e4351ee44c8a2dde5c;p=python Closes #14729: Allowed test to pass on Windows by adjusting the test condition slightly to allow for a Windows-specific error message. --- diff --git a/Lib/test/test_faulthandler.py b/Lib/test/test_faulthandler.py index 977cb3928b..1138f8f133 100644 --- a/Lib/test/test_faulthandler.py +++ b/Lib/test/test_faulthandler.py @@ -92,7 +92,7 @@ class FaultHandlerTests(unittest.TestCase): ^Fatal Python error: {name} {header}: - File "", line {lineno} in $ + File "", line {lineno} in """.strip() regex = regex.format( lineno=line_number,