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 977cb39..1138f8f 100644
--- 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,