We need a working Python interpreter with the pytest framework installed. Pytest can be installed using the following command:
$ pip install pytest
Though the examples have been written using Python 3.7 and pytest 5.4.3, they should work on most modern Python versions. You can find the code files used in this chapter on GitHub at https://github.com/PacktPublishing/Crafting-Test-Driven-Software-with-Python/tree/main/Chapter06