On Fri, Jul 18, 2008 at 11:55 PM, Guido van Rossum <guido at python.org> wrote: > This is an example of the problem with doctest -- it's easy to > overspecify the tests. I don't think that whether the repr() of a > Decimal uses single or double quotes should be considered a spec cast > in stone by doctests. > OK, but I'm just thinking of all the places in tests we have stuff like: >>> var.method(params) expected_repr_of_return_value We should really be doing something else to guard against a potential future change in repr of whatever it is? Thanks, Karen -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20080719/1deba7d9/attachment.htm>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4