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 9c18793 commit d04a35fCopy full SHA for d04a35f
src/pytest_mock/plugin.py
@@ -264,7 +264,7 @@ def _start_patch(
264
"Mocks returned by pytest-mock do not need to be used as context managers. "
265
"The mocker fixture automatically undoes mocking at the end of a test. "
266
"This warning can be ignored if it was triggered by mocking a context manager. "
267
- "https://pytest-mock.readthedocs.io/en/latest/remarks.html#usage-as-context-manager",
+ "https://pytest-mock.readthedocs.io/en/latest/usage.html#usage-as-context-manager",
268
PytestMockWarning,
269
stacklevel=5,
270
)
0 commit comments