File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1485,8 +1485,8 @@ patch
14851485 By default this is ``'test' ``, which matches the way :mod: `unittest ` finds tests.
14861486 You can specify an alternative prefix by setting ``patch.TEST_PREFIX ``.
14871487
1488- Patch will raise a `RuntimeError ` if passed some common misspellings of
1489- the arguments autospec and spec_set. Pass the argument ` unsafe ` with the
1488+ Patch will raise a :exc: `RuntimeError ` if passed some common misspellings of
1489+ the arguments autospec and spec_set. Pass the argument * unsafe * with the
14901490 value True to disable that check.
14911491
14921492 Patch can be used as a context manager, with the with statement. Here the
@@ -2425,7 +2425,7 @@ create_autospec
24252425 spec for an instance object by passing ``instance=True ``. The returned mock
24262426 will only be callable if instances of the mock are callable.
24272427
2428- `create_autospec ` will raise a `RuntimeError ` if passed some common
2428+ :func: `create_autospec ` will raise a :exc: `RuntimeError ` if passed some common
24292429 misspellings of the arguments autospec and spec_set. Pass the argument
24302430 `unsafe ` with the value True to disable that check.
24312431
You can’t perform that action at this time.
0 commit comments