python / python/cpython

IDLE: Fix devdanzin test issues

Đang mở
#155,648 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

@terryjreedy đang làm issue này rồi.

Từ ngày 13/8/2026.

stdlib topic-IDLE type-bug
Ngôn ngữ chính
Python
Star
77.2k
Fork
35.9k
Chỉ số merge pull request
Chỉ số pull request đang chờ

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.