mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Make it clear that the msg argument to assertRaises is keyword-only. (GH-9670)
This commit is contained in:
parent
cbda8fc5d7
commit
be4e5b8920
1 changed files with 1 additions and 1 deletions
|
@ -944,7 +944,7 @@ Test cases
|
|||
+---------------------------------------------------------+--------------------------------------+------------+
|
||||
|
||||
.. method:: assertRaises(exception, callable, *args, **kwds)
|
||||
assertRaises(exception, msg=None)
|
||||
assertRaises(exception, *, msg=None)
|
||||
|
||||
Test that an exception is raised when *callable* is called with any
|
||||
positional or keyword arguments that are also passed to
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue