holy fuking shit
This commit is contained in:
@@ -75,6 +75,9 @@ def test_time_only_reward_has_no_per_source_shaping():
|
||||
reason="RL 依赖组未安装")
|
||||
def test_project_compat_layer_reexports_real_classes():
|
||||
from mcm26b.hrl.hierarchical_env import HierarchicalEnv
|
||||
# project 是仓库根部的兼容层:pytest 经 rootdir 把仓库根放进 sys.path,
|
||||
# 而单独 lint tests/ 时 pylint 的 sys.path 不含仓库根,故此处局部豁免。
|
||||
# pylint: disable=import-error
|
||||
from project.env.local_env import HierarchicalEnv as CompatEnv
|
||||
from project.env.simulator_client import SimulatorClient
|
||||
from project.policies.high_level_ppo import HighLevelPolicy
|
||||
|
||||
Reference in New Issue
Block a user