This is the code to go with the Pytest inheritance problems blog post. To try it out, you need to have pytest installed
virtualenv . --python python3
source bin/activate
pip install pytest
Then go to the directory you want (src/humans
or src/presidents
) and run
py.test
to run the tests.