Skip to content

Commit

Permalink
Issue #17015: When it has a spec, a Mock object now inspects its sign…
Browse files Browse the repository at this point in the history
…ature when matching calls, so that arguments can be matched positionally or by name.
  • Loading branch information
pitrou authored and rbtcollins committed Jul 9, 2015
1 parent 7ea9408 commit eba505c
Show file tree
Hide file tree
Showing 7 changed files with 319 additions and 111 deletions.
4 changes: 4 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
- 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.

- Issue #15323: improve failure message of Mock.assert_called_once_with

- Issue #14857: fix regression in references to PEP 3135 implicit __class__
Expand Down
2 changes: 1 addition & 1 deletion README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ Docs from the in-development version of `mock` can be found at
Releasing
---------

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

Expand Down
1 change: 1 addition & 0 deletions __version__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = '1.0.1'
Loading

0 comments on commit eba505c

Please sign in to comment.