File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1369,7 +1369,7 @@ patch
1369
1369
"as"; very useful if :func: `patch ` is creating a mock object for you.
1370
1370
1371
1371
:func: `patch ` takes arbitrary keyword arguments. These will be passed to
1372
- the :class: `Mock ` (or *new_callable *) on construction.
1372
+ the :class: `MagicMock ` (or *new_callable *) on construction.
1373
1373
1374
1374
``patch.dict(...) ``, ``patch.multiple(...) `` and ``patch.object(...) `` are
1375
1375
available for alternate use-cases.
Original file line number Diff line number Diff line change @@ -1651,7 +1651,7 @@ def patch(
1651
1651
"as"; very useful if `patch` is creating a mock object for you.
1652
1652
1653
1653
`patch` takes arbitrary keyword arguments. These will be passed to
1654
- the `Mock ` (or `new_callable`) on construction.
1654
+ the `MagicMock ` (or `new_callable`) on construction.
1655
1655
1656
1656
`patch.dict(...)`, `patch.multiple(...)` and `patch.object(...)` are
1657
1657
available for alternate use-cases.
You can’t perform that action at this time.
0 commit comments