python / python/cpython

IDLE: Fix devdanzin test issues

オープン
#155,648 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

@terryjreedy がすでに取り組んでいます。

2026年8月13日 から。

stdlib topic-IDLE type-bug
主要言語
Python
スター
77.2k
フォーク
35.9k
PR マージ指標
PR 指標を取得中

説明

The bug scan found 4 broad issues in idle_test/*. Details in full reports or in numbered links below.

71 CONSIDER idle_test/mock_idle.py:48 The shared test stubs cannot express the conditions the guards under test exist for
72 CONSIDER idle_test/test_searchengine.py:279 A test class freezes text.index to a constant, leaving seven mutations of live code undetected

Fixed:
26 CONSIDER idle_test/test_autocomplete.py:241 Five tests in the suite cannot fail
73 CONSIDER idle_test/test_undo.py Four test files exit 0 even when their tests fail

Linked PRs
  • gh-156249
  • gh-156251
  • gh-156252
  • gh-156253
  • gh-156257
  • gh-156260
  • gh-156315
  • gh-156316
  • gh-156317
  • gh-157204
  • gh-157205
  • gh-157206

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。