Skip to content

Commit d04a35f

Browse files
Update url in warning
This was missed in #383
1 parent 9c18793 commit d04a35f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pytest_mock/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ def _start_patch(
264264
"Mocks returned by pytest-mock do not need to be used as context managers. "
265265
"The mocker fixture automatically undoes mocking at the end of a test. "
266266
"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",
267+
"https://pytest-mock.readthedocs.io/en/latest/usage.html#usage-as-context-manager",
268268
PytestMockWarning,
269269
stacklevel=5,
270270
)

0 commit comments

Comments
 (0)