From 0a36f7fce4eeb1e3bdb6dd8fc06dba846bc36395 Mon Sep 17 00:00:00 2001 From: CI Bot Date: Mon, 7 Sep 2026 00:38:08 +0000 Subject: [PATCH] style: auto-format with black + isort + prettier [skip ci-format-check] --- tests/unit/test_smart_match_noise_1743.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/unit/test_smart_match_noise_1743.py b/tests/unit/test_smart_match_noise_1743.py index ab1c7bc3c..03b035351 100644 --- a/tests/unit/test_smart_match_noise_1743.py +++ b/tests/unit/test_smart_match_noise_1743.py @@ -84,8 +84,9 @@ class TestScoreNoiseInjection: def test_score_field_is_raw_without_noise(self): """r.score 始终是无噪声原始分(噪声只影响排序,不污染返回分值)。""" - from unittest.mock import patch from datetime import datetime as _dt + from unittest.mock import patch + assets = _make_tied_assets(5) raw_scores = {score_asset(a, now=NOW)[0] for a in assets} # 冻结 datetime.now,与 score_asset 用的 NOW 一致(recency 时变分数需稳定)