fix(#54): 修复 perf_budget 测试引导 sys.path 挂载(与 core/dashboard 测试一致)

This commit is contained in:
2026-08-05 05:38:34 +08:00
parent 5da367dfd8
commit f12b9fb4a8
2 changed files with 6 additions and 0 deletions
@@ -12,8 +12,11 @@
8. 边界/错误:负 h、负 scroll_y、负视口参数;
9. 空输入。
"""
import os
import sys
import unittest
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
import _bootstrap # noqa: F401 (挂载 perf_budget 包)
from perf_budget.lazy_load import (