-
Notifications
You must be signed in to change notification settings - Fork 73
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
Crash when doctest fails #122
Comments
This issue is a blocker for me. If I can't find a solution for it, I will need to cease use of pytest-sugar in environments where doctests are used. Are there plans to address this issue? Would you accept a PR with a fix and cut a release of it in short order? |
It is because pytest-sugar graps the report from this def reportinfo(self):
return self.fspath, None, "[doctest] %s" % self.name which returns |
I am closing this as #134 is going to be the single ticket related to doctest |
When running pytest with
--doctest-modules
and if one of the doctests fails, pytest-sugar fails with a TypeError. For example, here's the invocation of tox on this repro repo:The text was updated successfully, but these errors were encountered: