In test_faulthandler.test_check_fatal_error, the test expects a response which matches """ ^Fatal Python error: {name} {header}: File "", line {lineno} in $ """.strip() On Windows, some more information is appended to the end of the message, so the match fails because of the trailing .Iproposetoremovethis. I propose to remove this .Iproposetoremovethis, so that the match succeeds just on the basis of the prefix. Patch attached; I'll apply it soon, assuming you don't object.
> Which information? What do write these information? The Windows error message has the same beginning, but an additional "This application has requested the Runtime to terminate it in an unusual way.\nPlease contact the application's support team for more information." I believe this is added by Microsoft libraries - it's doesn't come from Python AFAIK. See #9116 for a similar problem (look only at the initial report - most of the following comments go off at a tangent about preventing debugger popups).