File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -997,7 +997,7 @@ def doIt(self):
997997 "Mocks returned by pytest-mock do not need to be used as context managers. "
998998 "The mocker fixture automatically undoes mocking at the end of a test. "
999999 "This warning can be ignored if it was triggered by mocking a context manager. "
1000- "https://pytest-mock.readthedocs.io/en/latest/remarks .html#usage-as-context-manager"
1000+ "https://pytest-mock.readthedocs.io/en/latest/usage .html#usage-as-context-manager"
10011001 )
10021002
10031003 with pytest .warns (
@@ -1014,7 +1014,7 @@ def test_warn_patch_context_manager(mocker: MockerFixture) -> None:
10141014 "Mocks returned by pytest-mock do not need to be used as context managers. "
10151015 "The mocker fixture automatically undoes mocking at the end of a test. "
10161016 "This warning can be ignored if it was triggered by mocking a context manager. "
1017- "https://pytest-mock.readthedocs.io/en/latest/remarks .html#usage-as-context-manager"
1017+ "https://pytest-mock.readthedocs.io/en/latest/usage .html#usage-as-context-manager"
10181018 )
10191019
10201020 with pytest .warns (
You can’t perform that action at this time.
0 commit comments