Skip to content

Commit

Permalink
Preparing for 5.0.2 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
cjw296 committed Apr 16, 2023
1 parent b8a7ded commit 03a3f12
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
5.0.2
-----

- gh-102978: Fixes :func:`unittest.mock.patch` not enforcing function
signatures for methods decorated with ``@classmethod`` or
``@staticmethod`` when patch is called with ``autospec=True``.

- gh-103329: Regression tests for the behaviour of
``unittest.mock.PropertyMock`` were added.

5.0.1
-----

Expand Down
3 changes: 0 additions & 3 deletions NEWS.d/2023-04-03-23-44-34.gh-issue-102978.gy9eVk.rst

This file was deleted.

1 change: 0 additions & 1 deletion NEWS.d/2023-04-08-00-50-23.gh-issue-103329.M38tqF.rst

This file was deleted.

2 changes: 1 addition & 1 deletion mock/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import mock.mock as _mock
from mock.mock import *

__version__ = '5.0.1'
__version__ = '5.0.2'
version_info = tuple(int(p) for p in
re.match(r'(\d+).(\d+).(\d+)', __version__).groups())

Expand Down

0 comments on commit 03a3f12

Please sign in to comment.