Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improvement: make pytest-timeout failure message customizable #11

Closed
pytest-timeout-bot opened this issue Aug 28, 2015 · 1 comment
Closed
Labels
enhancement New feature or request minor

Comments

@pytest-timeout-bot
Copy link

Original report by Anonymous.


i was trying to customize the pytest-timeout failure message one of this days and notice there is no extension point (hook or argument) that allows me to do that. digging in the code i noticed that this is due to the failure message being hardcoded (see https://bitbucket.org/pytest-dev/pytest-timeout/src/ea3ba7b8f9b3ed4fe75d981f0f98765e71ef7a7a/pytest_timeout.py?at=default#pytest_timeout.py-225).
therefore, this ticket is to suggest allowing this failure message to be somehow customizable (preferably via hook).

@pytest-timeout-bot
Copy link
Author

Original comment by Floris Bruynooghe (Bitbucket: flub, GitHub: flub).


Seems esoteric, but please provide a PR if you'd like to take this further.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request minor
Projects
None yet
Development

No branches or pull requests

1 participant