GoogleContainerTools / GoogleContainerTools/container-debug-support

Python tests are non-hermetic

オープン
#116 コメント 0 件 リアクション 0 件 担当者 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 を短くまとめたダイジェスト。