Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 533f1ed

Browse files
committed
Add a missing parenthesis.
1 parent 2cefb3c commit 533f1ed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/unittest.mock.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ the `new_callable` argument to `patch`.
468468
mock and unless the function returns the :data:`DEFAULT` singleton the
469469
call to the mock will then return whatever the function returns. If the
470470
function returns :data:`DEFAULT` then the mock will return its normal
471-
value (from the :attr:`return_value`.
471+
value (from the :attr:`return_value`).
472472

473473
An example of a mock that raises an exception (to test exception
474474
handling of an API):

0 commit comments

Comments
 (0)