O'Reilly logo
  • Seyda Gündüz thinks this is interesting:

You might be wondering about the line that reads 1 items had no tests, and the following line that just reads test. These lines are referring to the fact that there are no tests written in the module-level docstring. That's a little surprising, since we didn't include such a docstring in our source code at all, until you realize that, as far as Python (and thus doctest) is concerned, no docstring is the same as an empty docstring.


Cover of Learning Python Testing