Skip to content

Commit 3c8b9ae

Browse files
committed
fix: remove redundant imports in fixture bodies
Model, Strategy, and Stats are already imported at module level.
1 parent 3a85a85 commit 3c8b9ae

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

tests/balatrobench/conftest.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,12 @@ def sample_run_dir(fixtures_dir: Path) -> Path:
2525
@pytest.fixture
2626
def sample_model() -> Model:
2727
"""Sample Model instance."""
28-
from balatrobench.models import Model
29-
3028
return Model(vendor="openai", name="gpt-oss-120b")
3129

3230

3331
@pytest.fixture
3432
def sample_strategy() -> Strategy:
3533
"""Sample Strategy instance."""
36-
from balatrobench.models import Strategy
37-
3834
return Strategy(
3935
name="Default",
4036
description="The default BalatroLLM strategy",
@@ -47,8 +43,6 @@ def sample_strategy() -> Strategy:
4743
@pytest.fixture
4844
def sample_stats() -> Stats:
4945
"""Sample Stats instance with realistic values."""
50-
from balatrobench.models import Stats
51-
5246
return Stats(
5347
calls_total=87,
5448
calls_success=80,

0 commit comments

Comments
 (0)