Skip to content

Commit f579b1d

Browse files
committed
Add note about mock in Python 3.3
Closes realpython#170
1 parent 2454c81 commit f579b1d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/writing/tests.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,8 @@ the need to change any other code.
251251
mock
252252
----
253253

254-
mock is a library for testing in Python.
254+
mock is a library for testing in Python. Starting with Python 3.3, it is
255+
available in the standard library. For older versions of python, simply:
255256

256257
.. code-block:: console
257258

0 commit comments

Comments
 (0)