Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ email = "[email protected]"

[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",
Expand Down Expand Up @@ -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 = [
Expand Down
4 changes: 2 additions & 2 deletions tests/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading