mirror of
https://github.com/kennethreitz/python-guide.git
synced 2026-06-05 23:00:18 +00:00
Merge pull request #380 from sigmavirus24/add-mock-note
Add note about mock in Python 3.3
This commit is contained in:
@@ -251,7 +251,9 @@ the need to change any other code.
|
|||||||
mock
|
mock
|
||||||
----
|
----
|
||||||
|
|
||||||
mock is a library for testing in Python.
|
mock is a library for testing in Python. Starting with Python 3.3, it is
|
||||||
|
available in the `standard library <http://docs.python.org/dev/library/unittest.mock`_. For older versions of
|
||||||
|
python, simply:
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user