Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 602 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 602 Bytes

PyLadies TalkNight: Intermediate Python

PyLadies Logo

January 28, 2016

Version

The modules were written using Python 2.7.

pytest

These programs make use of the testing framework pytest. See the pytest website for more information.

Installing pytest

To install pytest on a Mac/Unix machine, in your terminal type:
$ pip install pytest

Using pytest

There are (at least) two ways to run a Python program that uses pytest from the terminal:

  1. $ python -m pytest my_program.py
  2. $ py.test my_program.py