Skip to content

Commit 8706719

Browse files
committed
ruff checks
1 parent da13173 commit 8706719

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

tests/agent_core/test_props.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
ModelConfig,
1111
)
1212

13-
1413
# -- ModelConfig tests --
1514

1615

@@ -39,16 +38,12 @@ def test_model_config_custom_values():
3938

4039

4140
def test_model_config_budget_tokens_must_be_less_than_max_tokens():
42-
with pytest.raises(
43-
ValueError, match="budget_tokens must be less than max_tokens"
44-
):
41+
with pytest.raises(ValueError, match="budget_tokens must be less than max_tokens"):
4542
ModelConfig(max_tokens=8000, budget_tokens=8000)
4643

4744

4845
def test_model_config_budget_tokens_greater_than_max_tokens_raises():
49-
with pytest.raises(
50-
ValueError, match="budget_tokens must be less than max_tokens"
51-
):
46+
with pytest.raises(ValueError, match="budget_tokens must be less than max_tokens"):
5247
ModelConfig(max_tokens=4000, budget_tokens=5000)
5348

5449

0 commit comments

Comments
 (0)