test_urllib2 alters the execution environment (unsetting `no_proxy`)
オープン
まだ誰も着手していません。
tests
type-bug
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 35.9k
- PR マージ指標
- PR 指標を取得中
説明
Bug report
Bug description:
Running the Python-3.13.1 test suite with make test, and:
1 test altered the execution environment (env changed):
test_urllib2
The offending code pattern in several test cases is:
os.environ['no_proxy'] = '*'
# ... ...
del os.environ['no_proxy']
Thus if no_proxy already exists in the environment variable, these tests will remove it.
CPython versions tested on:
3.13
Operating systems tested on:
Linux
Linked PRs
- gh-132584
- gh-132585
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず make test を実行して CPython のテストスイートを開始し、test_urllib2 を調べて、no_proxy を設定および削除するケースに注目します。テストが既存の no_proxy 環境値をそのまま維持し、スイートが実行環境の変更を報告しなくなれば、変更は完了です。リンクされた PR gh-132584 と gh-132585 は、すでに作業が進行中であることを示しています。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- testing-qa
- issue の種類
- バグ
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 25/100