Skip to content

Commit 3efdf9f

Browse files
committed
Add CHANGELOG and docs for #178
1 parent 06d1848 commit 3efdf9f

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

CHANGELOG.rst

+11
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
3.0.0 (UNRELEASED)
2+
------------------
3+
4+
* Python 2.7 and 3.4 are no longer supported. Users using ``pip 9`` or later will install
5+
a compatible version automatically.
6+
7+
* ``mocker.spy`` now also works with ``async def`` functions (`#179`_). Thanks `@frankie567`_ for the PR!
8+
9+
.. _#179: https://github.com/pytest-dev/pytest-mock/issues/179
10+
.. _@frankie567: https://github.com/frankie567
11+
112
2.0.0 (2020-01-04)
213
------------------
314

README.rst

+2
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@ In addition, spy objects contain two extra attributes:
114114

115115
``mocker.spy`` also works for class and static methods.
116116

117+
As of version 3.0.0, ``mocker.spy`` also works with ``async def`` functions.
118+
117119
.. note::
118120

119121
In versions earlier than ``2.0``, the attributes were called ``return_value`` and

0 commit comments

Comments
 (0)