Skip to content

Commit 2157690

Browse files
committed
Lower install and requirements sections
1 parent b091d0e commit 2157690

File tree

1 file changed

+20
-17
lines changed

1 file changed

+20
-17
lines changed

README.rst

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -26,22 +26,6 @@ of a test:
2626
.. |ci| image:: http://img.shields.io/travis/nicoddemus/pytest-mock.png
2727
:target: https://travis-ci.org/nicoddemus/pytest-mock
2828

29-
Requirements
30-
============
31-
32-
* Python 2.5+, including Python 3
33-
* pytest
34-
* mock (for Python < 3.3)
35-
36-
Install
37-
=======
38-
39-
Install using `pip <http://pip-installer.org/>`_:
40-
41-
.. code-block:: console
42-
43-
$ pip install pytest-mock
44-
4529
Usage
4630
=====
4731

@@ -63,7 +47,26 @@ The supported methods are:
6347
* ``mock.patch.object``: see http://www.voidspace.org.uk/python/mock/patch.html#patch-object.
6448
* ``mock.patch.multiple``: see http://www.voidspace.org.uk/python/mock/patch.html#patch-multiple.
6549
* ``mock.patch.dict``: see http://www.voidspace.org.uk/python/mock/patch.html#patch-dict.
66-
* ``mock.stopall()``: stops all active patches at this point.
50+
* ``mock.stopall()``: stops all active patches at this point.
51+
52+
53+
Requirements
54+
============
55+
56+
* Python 2.5+, including Python 3
57+
* pytest
58+
* mock (for Python < 3.3)
59+
60+
61+
Install
62+
=======
63+
64+
Install using `pip <http://pip-installer.org/>`_:
65+
66+
.. code-block:: console
67+
68+
$ pip install pytest-mock
69+
6770
6871
Why bother with a plugin?
6972
=========================

0 commit comments

Comments
 (0)