Skip to content

DeepTutor: Lifelong Personalized Tutoring. https://deeptutor.info/.

style: apply ruff format to the recall tests

Bingxi Zhao (Frank)913cba58abfc
diff --git a/tests/services/memory/test_recall.py b/tests/services/memory/test_recall.py
index 4cdd33886..601880f7f 100644
--- a/tests/services/memory/test_recall.py
+++ b/tests/services/memory/test_recall.py
@@ -17,9 +17,7 @@ def _iso(days: float) -> str:
return (datetime.now(tz=timezone.utc) - timedelta(days=days)).isoformat()
-def _stub_stamps(
- monkeypatch: pytest.MonkeyPatch, by_surface: dict[str, list[EntityStamp]]
-) -> None:
+def _stub_stamps(monkeypatch: pytest.MonkeyPatch, by_surface: dict[str, list[EntityStamp]]) -> None:
from deeptutor.services.memory.snapshot import adapters
monkeypatch.setattr(adapters, "read_stamps", lambda surface: by_surface.get(surface, []))