The Real Python Podcast
Start Testing Your Python with doctest & Pagination in Django

Episode 109 · Season 1

Start Testing Your Python with doctest & Pagination in Django

The Real Python Podcast

56:39

About this episode

Did you know you can add testing to your Python code while simultaneously documenting it? Using docstrings, you can create examples of how your functions should interact in a Python REPL and test them with the built-in doctest module. This week on the show, Christopher Trudeau is here, bringing another batch of PyCoder's Weekly articles and projects.

More from The Real Python Podcast