From 0319812b459bc2bf408baaf2e5aeb5fdef04e14c Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Wed, 10 Jun 2026 16:10:06 -0400 Subject: [PATCH] style: group tests._prediction_helpers import with backend (ruff I001) Co-Authored-By: Claude Opus 4.8 (1M context) --- tests/test_tasks_ml.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/test_tasks_ml.py b/tests/test_tasks_ml.py index 57afdab..eb59e47 100644 --- a/tests/test_tasks_ml.py +++ b/tests/test_tasks_ml.py @@ -63,7 +63,6 @@ async def test_apply_allowlist_applies_above_threshold(db): from backend.app.models.tag import image_tag from backend.app.services.tag_service import TagService from backend.app.tasks import ml as ml_tasks - from tests._prediction_helpers import seed_predictions tag = await TagService(db).find_or_create("autohero", TagKind.character) @@ -101,7 +100,6 @@ async def test_apply_allowlist_skips_below_threshold(db): from backend.app.models.tag import image_tag from backend.app.services.tag_service import TagService from backend.app.tasks import ml as ml_tasks - from tests._prediction_helpers import seed_predictions tag = await TagService(db).find_or_create("lowconf", TagKind.character)