The modules were written using Python 2.7.
These programs make use of the testing framework pytest
. See the pytest website for more information.
To install pytest on a Mac/Unix machine, in your terminal type:
$ pip install pytest
There are (at least) two ways to run a Python program that uses pytest
from the terminal:
$ python -m pytest my_program.py
$ py.test my_program.py