[issue32042] Option for comparing values instead of reprs in doctest

Jesse Bakker report at bugs.python.org
Sun Nov 19 11:04:22 EST 2017


Jesse Bakker <jessebakker00 at gmail.com> added the comment:

I think this would allow for inconsistency in docs (if implemented as suggested), as when actually running the code in the docs, one would get different results than suggested by the docs.

Maybe there is some other way (with different docs syntax) that would work well. Cannot think of anything from the top of my head, but maybe someone more creative can?

----------
nosy: +Jesse Bakker

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32042>
_______________________________________


More information about the Python-bugs-list mailing list