diff --git a/Lib/test/test_faulthandler.py b/Lib/test/test_faulthandler.py index 977cb3928ba..1138f8f1331 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,