diff options
author | Chris Withers <chris@simplistix.co.uk> | 2020-03-11 17:08:10 +0000 |
---|---|---|
committer | Chris Withers <chris@withers.org> | 2020-03-11 17:25:49 +0000 |
commit | 87546bf7b90531e70419e6343c0938dcab3fb36b (patch) | |
tree | f1bad0511133b69af16aebcba7e84791b50d6bea | |
parent | d06f48d677ffd387fab97a628d9d96613f6af065 (diff) | |
download | mock-87546bf7b90531e70419e6343c0938dcab3fb36b.tar.gz |
Preparing for 4.0.2 release.
-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()) |