mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
gh-61215: Rename wait_until_any_call to wait_until_any_call_with (#106414)
mock: Rename `wait_until_any_call` to `wait_until_any_call_with` Rename the method to be more explicit that it expects the args and kwargs to wait for.
This commit is contained in:
parent
8a4bba8b97
commit
2dfc7fae78
3 changed files with 28 additions and 28 deletions
|
|
@ -3070,7 +3070,7 @@ class ThreadingMixin(Base):
|
|||
f" timeout({timeout}).")
|
||||
raise AssertionError(msg)
|
||||
|
||||
def wait_until_any_call(self, *args, **kwargs):
|
||||
def wait_until_any_call_with(self, *args, **kwargs):
|
||||
"""Wait until the mock object is called with given args.
|
||||
|
||||
Waits for the timeout in seconds provided in the constructor.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue