summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2012-05-06 10:28:46 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2012-05-06 10:28:46 (GMT)
commit363712349a2b6e2a3f4257e4351ee44c8a2dde5c (patch)
tree0cd149e65bc42c58a0aa3210337ee0d3ccec6d90
parentfc7e967c48fc0e22069d1b9cd7fe1ceb88c25c4e (diff)
downloadcpython-363712349a2b6e2a3f4257e4351ee44c8a2dde5c.zip
cpython-363712349a2b6e2a3f4257e4351ee44c8a2dde5c.tar.gz
cpython-363712349a2b6e2a3f4257e4351ee44c8a2dde5c.tar.bz2
Closes #14729: Allowed test to pass on Windows by adjusting the test condition slightly to allow for a Windows-specific error message.
-rw-r--r--Lib/test/test_faulthandler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_faulthandler.py b/Lib/test/test_faulthandler.py
index 977cb39..1138f8f 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 "<string>", line {lineno} in <module>$
+ File "<string>", line {lineno} in <module>
""".strip()
regex = regex.format(
lineno=line_number,