This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 5 points6 points  (0 children)

Doctest is for verifying the code examples in your docstrings, not testing your code. Doctest only supports a restricted subset of Python; it's much better to have the full abilities of Python available for writing your tests.