Skip to content

Commit eba505c

Browse files
pitrourbtcollins
authored andcommitted
Issue #17015: When it has a spec, a Mock object now inspects its signature when matching calls, so that arguments can be matched positionally or by name.
1 parent 7ea9408 commit eba505c

File tree

7 files changed

+319
-111
lines changed

7 files changed

+319
-111
lines changed

NEWS

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
- Issue #17015: When it has a spec, a Mock object now inspects its signature
2+
when matching calls, so that arguments can be matched positionally or
3+
by name.
4+
15
- Issue #15323: improve failure message of Mock.assert_called_once_with
26

37
- Issue #14857: fix regression in references to PEP 3135 implicit __class__

README.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ Docs from the in-development version of `mock` can be found at
183183
Releasing
184184
---------
185185

186-
1. update mock.__version__
186+
1. update mock.__version__ and __version__.__version__
187187
2. commit, tag, push --tags origin master
188188
3. setup.py sdist bdist_wheel upload -s
189189

__version__.py

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__version__ = '1.0.1'

0 commit comments

Comments
 (0)