fix(test): e2e test collection crash - 跳过 import 安装目录 #20

Merged
jiangwei-infra merged 1 commits from fix/e2e-collection-crash into main 2026-06-09 23:54:00 +00:00
Owner
No description provided.
jiangwei-infra added 1 commit 2026-06-09 23:52:49 +00:00
fix(test): e2e test 在 collection 阶段跳过(不 import 安装目录)
CI / lint (pull_request) Successful in 8s
CI / test (pull_request) Successful in 8s
CI / notify-on-failure (pull_request) Successful in 1s
b90b7b37c7
根因: test_e2e_v27.py 的 skipif 只标记了函数级别,pytest collection 阶段
仍会 import 该文件,触发 sys.path.insert 指向安装目录的 spawner.py。
如果安装目录有 merge conflict 残留,整个 test job crash。

修复: 将 skipif 加入 pytestmark 级别,collection 阶段即跳过。
jiangwei-infra merged commit 9a62a45a12 into main 2026-06-09 23:54:00 +00:00
Sign in to join this conversation.