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):
997
997
"Mocks returned by pytest-mock do not need to be used as context managers. "
998
998
"The mocker fixture automatically undoes mocking at the end of a test. "
999
999
"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"
1001
1001
)
1002
1002
1003
1003
with pytest .warns (
@@ -1014,7 +1014,7 @@ def test_warn_patch_context_manager(mocker: MockerFixture) -> None:
1014
1014
"Mocks returned by pytest-mock do not need to be used as context managers. "
1015
1015
"The mocker fixture automatically undoes mocking at the end of a test. "
1016
1016
"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"
1018
1018
)
1019
1019
1020
1020
with pytest .warns (
You can’t perform that action at this time.
0 commit comments