Pros
doctest is very simple to use and doesn't require any installation.
It ensures code documentation, containing interactive examples are up to date.
Cons
doctest doesn't have a proper API for testing.
doctests are static in nature and hence cannot be parameterized.
doctest doesn't support features like test discovery, test fixtures and test runner. Hence it cannot be used for testing a large project.