-
Notifications
You must be signed in to change notification settings - Fork 86
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
AttributeError: 'str' object has no attribute 'reprcrash' while using pytest.mark.xfail #239
Comments
@metheuspsc Thank you for your solution! It helped. |
@metheuspsc Could you please create a pull request for your fix? |
metheuspsc
added a commit
to metheuspsc/pytest-rerunfailures
that referenced
this issue
Oct 20, 2023
Merged
Done |
metheuspsc
added a commit
to metheuspsc/pytest-rerunfailures
that referenced
this issue
Nov 14, 2023
metheuspsc
added a commit
to metheuspsc/pytest-rerunfailures
that referenced
this issue
Nov 21, 2023
Fixed by #240. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello!
In my project, I use @pytest.mark.flaky(reruns=3, rerun_except=CustomException) using a specific custom Exception on a couple of tests. That causes the following error that looks similar to issue #175:
So I suggest the same fix, which I tested locally and worked.
The text was updated successfully, but these errors were encountered: