Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cefb3c commit 533f1edCopy full SHA for 533f1ed
1 file changed
Doc/library/unittest.mock.rst
@@ -468,7 +468,7 @@ the `new_callable` argument to `patch`.
468
mock and unless the function returns the :data:`DEFAULT` singleton the
469
call to the mock will then return whatever the function returns. If the
470
function returns :data:`DEFAULT` then the mock will return its normal
471
- value (from the :attr:`return_value`.
+ value (from the :attr:`return_value`).
472
473
An example of a mock that raises an exception (to test exception
474
handling of an API):
0 commit comments