Skip to content

Commit

Permalink
Added a note about mock on Python 2.
Browse files Browse the repository at this point in the history
See #35 and #39.
  • Loading branch information
zsiciarz committed Jul 19, 2015
1 parent 866bbbc commit bdb92a3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/development.rst
Expand Up @@ -27,6 +27,11 @@ Running tests
All dependencies required for running tests are specified in the file
``test_requirements.txt``.

.. note::
If you get errors such as `ImportError: No module named mock` while
running tests, you're probably on Python 2 (Python 3 has `mock` in
standard library). To fix that, run `pip install mock`.

To get the tests up and running, follow these commands::

virtualenv envelope
Expand Down

0 comments on commit bdb92a3

Please sign in to comment.