Commit be4e5b89 authored by Benjamin Peterson's avatar Benjamin Peterson Committed by GitHub

Make it clear that the msg argument to assertRaises is keyword-only. (GH-9670)

parent cbda8fc5
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment