New submission from Vinay Sajip <vinay_sa...@yahoo.co.uk>:

In test_faulthandler.test_check_fatal_error, the test expects a response which 
matches

"""
^Fatal Python error: {name}

{header}:
  File "<string>", line {lineno} in <module>$
""".strip()

On Windows, some more information is appended to the end of the message, so the 
match fails because of the trailing $. I propose to remove this $, so that the 
match succeeds just on the basis of the prefix.

Patch attached; I'll apply it soon, assuming you don't object.

----------
components: Tests
files: test_faulthandler.diff
keywords: patch
messages: 159986
nosy: haypo, vinay.sajip
priority: normal
severity: normal
status: open
title: test_faulthandler test is too specific to work on Windows
versions: Python 3.3
Added file: http://bugs.python.org/file25460/test_faulthandler.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14729>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to