From 853805fd192ab9d090c911f32455409c0dd0f875 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Mon, 1 Oct 2018 22:06:03 -0700 Subject: [PATCH] Make it clear that the msg argument to assertRaises is keyword-only. --- Doc/library/unittest.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst index adea431ed48b092..da8ce4082043b0a 100644 --- a/Doc/library/unittest.rst +++ b/Doc/library/unittest.rst @@ -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