Crash when doctest fails #122
Closed
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: