diff --git a/pyproject.toml b/pyproject.toml index 8823606..400220d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,7 +39,7 @@ email = "floss@frequenz.com" [project.optional-dependencies] dev-flake8 = [ - "flake8 == 7.2.0", + "flake8 == 7.3.0", "flake8-docstrings == 1.7.0", "flake8-pyproject == 1.2.3", # For reading the flake8 config from pyproject.toml "pydoclint == 0.6.6", @@ -75,12 +75,12 @@ dev-pylint = [ "frequenz-client-base[dev-mkdocs,dev-noxfile,dev-pytest]", ] dev-pytest = [ - "pytest == 8.3.5", + "pytest == 8.4.1", "frequenz-repo-config[extra-lint-examples] == 0.13.4", "pytest-mock == 3.14.1", "pytest-asyncio == 1.0.0", "async-solipsism == 0.7", - "hypothesis == 6.132.0", + "hypothesis == 6.135.20", "frequenz-client-base", ] dev = [ diff --git a/tests/test_client.py b/tests/test_client.py index a4aceb8..8850b9c 100644 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -28,13 +28,13 @@ def _assert_is_disconnected(client: BaseApiClient[StubT]) -> None: """Assert that the client is disconnected.""" assert not client.is_connected - with pytest.raises(ClientNotConnected, match=r"") as exc_info: + with pytest.raises(ClientNotConnected) as exc_info: _ = client.channel exc = exc_info.value assert exc.server_url == _DEFAULT_SERVER_URL assert exc.operation == "channel" - with pytest.raises(ClientNotConnected, match=r"") as exc_info: + with pytest.raises(ClientNotConnected) as exc_info: _ = client.channel exc = exc_info.value assert exc.server_url == _DEFAULT_SERVER_URL