Ticket #4439: testing.diff
File testing.diff, 682 bytes (added by , 17 years ago) |
---|
-
docs/testing.txt
147 147 If you've been using Python for a while, ``doctest`` will probably feel more 148 148 "pythonic". It's designed to make writing tests as easy as possible, so 149 149 there's no overhead of writing classes or methods; you simply put tests in 150 docstrings. This gives the added advantage of giv enyour modules automatic150 docstrings. This gives the added advantage of giving your modules automatic 151 151 documentation -- well-written doctests can kill both the documentation and the 152 152 testing bird with a single stone. 153 153