diff options
-rw-r--r-- | CHANGELOG.rst | 8 | ||||
-rw-r--r-- | NEWS.d/2020-03-10-19-38-47.bpo-39915.CjPeiY.rst | 4 | ||||
-rw-r--r-- | mock/__init__.py | 2 |
3 files changed, 9 insertions, 5 deletions
diff --git a/CHANGELOG.rst b/CHANGELOG.rst index adf3e28..7439fe5 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,3 +1,11 @@ +4.0.2 +----- + +- Issue #39915: Ensure :attr:`unittest.mock.AsyncMock.await_args_list` has + call objects in the order of awaited arguments instead of using + :attr:`unittest.mock.Mock.call_args` which has the last value of the call. + Patch by Karthikeyan Singaravelan. + 4.0.1 ----- diff --git a/NEWS.d/2020-03-10-19-38-47.bpo-39915.CjPeiY.rst b/NEWS.d/2020-03-10-19-38-47.bpo-39915.CjPeiY.rst deleted file mode 100644 index 2c36947..0000000 --- a/NEWS.d/2020-03-10-19-38-47.bpo-39915.CjPeiY.rst +++ /dev/null @@ -1,4 +0,0 @@ -Ensure :attr:`unittest.mock.AsyncMock.await_args_list` has call objects in -the order of awaited arguments instead of using -:attr:`unittest.mock.Mock.call_args` which has the last value of the call. -Patch by Karthikeyan Singaravelan. diff --git a/mock/__init__.py b/mock/__init__.py index 1b40467..180dee5 100644 --- a/mock/__init__.py +++ b/mock/__init__.py @@ -7,7 +7,7 @@ IS_PYPY = 'PyPy' in sys.version import mock.mock as _mock from mock.mock import * -__version__ = '4.0.1' +__version__ = '4.0.2' version_info = tuple(int(p) for p in re.match(r'(\d+).(\d+).(\d+)', __version__).groups()) |