diff options
author | robot-piglet <robot-piglet@yandex-team.com> | 2025-06-10 07:58:52 +0300 |
---|---|---|
committer | robot-piglet <robot-piglet@yandex-team.com> | 2025-06-10 08:09:57 +0300 |
commit | 94c126df37bf4bb3865934508de384037935638b (patch) | |
tree | 8b2c60e867844547388f3266da370c9b8ea5e181 /contrib/python/pytest-mock/py3/tests/test_pytest_mock.py | |
parent | 686b7126cb55601e05506a4a890e6f442703306b (diff) | |
download | ydb-94c126df37bf4bb3865934508de384037935638b.tar.gz |
Intermediate changes
commit_hash:1d18a3a019a737415b5508c62390d6373071cf9f
Diffstat (limited to 'contrib/python/pytest-mock/py3/tests/test_pytest_mock.py')
-rw-r--r-- | contrib/python/pytest-mock/py3/tests/test_pytest_mock.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/python/pytest-mock/py3/tests/test_pytest_mock.py b/contrib/python/pytest-mock/py3/tests/test_pytest_mock.py index 7831ddc3000..43fdb3858b5 100644 --- a/contrib/python/pytest-mock/py3/tests/test_pytest_mock.py +++ b/contrib/python/pytest-mock/py3/tests/test_pytest_mock.py @@ -13,6 +13,7 @@ from unittest.mock import AsyncMock from unittest.mock import MagicMock import pytest + from pytest_mock import MockerFixture from pytest_mock import PytestMockWarning @@ -1007,7 +1008,7 @@ def test_warn_patch_object_context_manager(mocker: MockerFixture) -> None: "Mocks returned by pytest-mock do not need to be used as context managers. " "The mocker fixture automatically undoes mocking at the end of a test. " "This warning can be ignored if it was triggered by mocking a context manager. " - "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" ) with pytest.warns( @@ -1024,7 +1025,7 @@ def test_warn_patch_context_manager(mocker: MockerFixture) -> None: "Mocks returned by pytest-mock do not need to be used as context managers. " "The mocker fixture automatically undoes mocking at the end of a test. " "This warning can be ignored if it was triggered by mocking a context manager. " - "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" ) with pytest.warns( |