Start Testing Your Python with doctest & Pagination in Django

The Real Python Podcast

Episode | Podcast

Date: Fri, 13 May 2022 12:00:00 +0000

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.