GoogleContainerTools / GoogleContainerTools/container-debug-support

Python tests are non-hermetic

未关闭
#116 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
kind/bug lang/python meta/testing
主要语言
Go
星标
104
派生
32
PR 合并指标
30 天内没有已合并 PR

描述

The python launcher uses `exec.LookPath` to find `python` in the `PATH`. As a result, tests fail on vanilla'ish macOS 12.3 where Python 2.7 was removed and Python 3 is only available as `python3`.

Since the tests don't actually launch Python, we should have the lookup be pluggable.

Workaround: create a `python` in the PATH before running the tests.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。