Skip to content

Fix failed doctest status reporting #709

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

Merged
merged 2 commits into from
Nov 24, 2022
Merged

Conversation

delatrie
Copy link
Contributor

Failed doctests executed through the pytest adapter now are reported as failed instead of broken.

This applies only to tests with invalid example (i.e., where an expected value of an example does not match an actual one).
If a doctest is interrupted with an unexpected exception it is still reported as broken as before.

@skhomuti skhomuti merged commit 3f113fe into master Nov 24, 2022
@skhomuti skhomuti deleted the fix_doctest_failure_status branch November 24, 2022 08:01
beckerGil pushed a commit to beckerGil/allure-python that referenced this pull request Apr 10, 2023
IvanBuruyane pushed a commit to IvanBuruyane/allure-python that referenced this pull request Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants