python / python/cpython

IDLE: Fix devdanzin test issues

Aberta
#155,648 0 comentários 0 reações 1 responsável Ver no GitHub

@terryjreedy já está trabalhando nisso.

Desde 13/8/2026.

stdlib topic-IDLE type-bug
Linguagem predominante
Python
Estrelas
77.2k
Forks
35.9k
Métricas de merge de PRs
Métricas de PR pendentes

Descrição

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

Guia de contribuição

Abrir o guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.