René's URL Explorer Experiment


Title: IDLE: Fix devdanzin test issues · Issue #155648 · python/cpython · GitHub

Open Graph Title: IDLE: Fix devdanzin test issues · Issue #155648 · python/cpython

X Title: IDLE: Fix devdanzin test issues · Issue #155648 · python/cpython

Description: 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 i...

Open Graph Description: 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 g...

X Description: 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 g...

Opengraph URL: https://github.com/python/cpython/issues/155648

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"IDLE: Fix devdanzin test issues","articleBody":"The bug scan found 4 broad issues in idle_test/*.  Details in [full reports](https://gist.github.com/devdanzin/f5c7aee89c8518ff0cc95ec1ca1b1441) or in numbered links below.\n\n[71](https://gist.github.com/devdanzin/f5c7aee89c8518ff0cc95ec1ca1b1441#71--the-shared-test-stubs-cannot-express-the-conditions-the-guards-under-test-exist-for) \tCONSIDER \tidle_test/mock_idle.py:48 \tThe shared test stubs cannot express the conditions the guards under test exist for\n[72](https://gist.github.com/devdanzin/f5c7aee89c8518ff0cc95ec1ca1b1441#72--a-test-class-freezes-textindex-to-a-constant-leaving-seven-mutations-of-live-code-undetected) \tCONSIDER \tidle_test/test_searchengine.py:279 \tA test class freezes text.index to a constant, leaving seven mutations of live code undetected\n\nFixed:\n[26](https://gist.github.com/devdanzin/f5c7aee89c8518ff0cc95ec1ca1b1441#26--five-tests-in-the-suite-cannot-fail) \tCONSIDER \tidle_test/test_autocomplete.py:241 \tFive tests in the suite cannot fail\n[73](https://gist.github.com/devdanzin/f5c7aee89c8518ff0cc95ec1ca1b1441#73--four-test-files-exit-0-even-when-their-tests-fail) \tCONSIDER \tidle_test/test_undo.py \tFour test files exit 0 even when their tests fail\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-156249\n* gh-156251\n* gh-156252\n* gh-156253\n* gh-156257\n* gh-156260\n* gh-156315\n* gh-156316\n* gh-156317\n* gh-157204\n* gh-157205\n* gh-157206\n\u003c!-- /gh-linked-prs -->","author":{"url":"https://github.com/terryjreedy","@type":"Person","name":"terryjreedy"},"datePublished":"2026-08-13T03:06:48Z","url":"https://github.com/python/cpython/issues/155648"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:a5cf6d7b-4b90-1d9e-557d-f6db58a3dc0f
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDDDE:2E5652:378C225:46CD061:6B01F24B
html-safe-nonced717c8aaf2e7ea7b506b5f3baed40799b6f0673b00e8bd20ac735566600de8e5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERERFOjJFNTY1MjozNzhDMjI1OjQ2Q0QwNjE6NkIwMUYyNEIiLCJ2aXNpdG9yX2lkIjoiNzA1MDk2MDM0MDMzNDUzOTMzOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac19eca01f9f0aa99e451f2daccfc964b18d9b37ef03bfeff8a2c10f94b05f562b
hovercard-subject-tagissue:5137357739
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/155648/issue_layout
twitter:imagehttps://opengraph.githubassets.com/9f7d2317e8438f68b96cc2811b8e9f6b2f22fdfed18d458727561aad512633c7/python/cpython/issues/155648
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9f7d2317e8438f68b96cc2811b8e9f6b2f22fdfed18d458727561aad512633c7/python/cpython/issues/155648
og:image:altThe 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 g...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameterryjreedy
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python/cpython/issues/155648#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F155648
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F155648
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/issues/155648
Reloadhttps://github.com/python/cpython/issues/155648
Reloadhttps://github.com/python/cpython/issues/155648
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/155648
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/155648
IDLE: Fix devdanzin test issueshttps://github.com/python/cpython/issues/155648#top
https://github.com/terryjreedy
stdlibStandard Library Python modules in the Lib/ directoryhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22stdlib%22
topic-IDLEhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-IDLE%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
https://github.com/terryjreedy
terryjreedyhttps://github.com/terryjreedy
on Aug 13, 2026https://github.com/python/cpython/issues/155648#issue-5137357739
full reportshttps://gist.github.com/devdanzin/f5c7aee89c8518ff0cc95ec1ca1b1441
71https://gist.github.com/devdanzin/f5c7aee89c8518ff0cc95ec1ca1b1441#71--the-shared-test-stubs-cannot-express-the-conditions-the-guards-under-test-exist-for
72https://gist.github.com/devdanzin/f5c7aee89c8518ff0cc95ec1ca1b1441#72--a-test-class-freezes-textindex-to-a-constant-leaving-seven-mutations-of-live-code-undetected
26https://gist.github.com/devdanzin/f5c7aee89c8518ff0cc95ec1ca1b1441#26--five-tests-in-the-suite-cannot-fail
73https://gist.github.com/devdanzin/f5c7aee89c8518ff0cc95ec1ca1b1441#73--four-test-files-exit-0-even-when-their-tests-fail
gh-155648: In IDLE tests, call unittest.main without exit arg #156249https://github.com/python/cpython/pull/156249
[3.15] gh-155648: In IDLE tests, call unittest.main without exit arg (GH-156249) #156251https://github.com/python/cpython/pull/156251
[3.14] gh-155648: In IDLE tests, call unittest.main without exit arg (GH-156249) #156252https://github.com/python/cpython/pull/156252
[3.13] gh-155648: In IDLE tests, call unittest.main without exit arg (GH-156249) #156253https://github.com/python/cpython/pull/156253
gh-155648: Fix IDLE tests that cannot fail #156257https://github.com/python/cpython/pull/156257
gh-155648: Write the empty and placeholder IDLE tests #156260https://github.com/python/cpython/pull/156260
[3.15] gh-155648: Fix IDLE tests that cannot fail (GH-156257) #156315https://github.com/python/cpython/pull/156315
[3.14] gh-155648: Fix IDLE tests that cannot fail (GH-156257) #156316https://github.com/python/cpython/pull/156316
[3.13] gh-155648: Fix IDLE tests that cannot fail (GH-156257) #156317https://github.com/python/cpython/pull/156317
[3.15] gh-155648: Write the empty and placeholder IDLE tests (GH-156260) #157204https://github.com/python/cpython/pull/157204
[3.14] gh-155648: Write the empty and placeholder IDLE tests (GH-156260) #157205https://github.com/python/cpython/pull/157205
[3.13] gh-155648: Write the empty and placeholder IDLE tests (GH-156260) #157206https://github.com/python/cpython/pull/157206
terryjreedyhttps://github.com/terryjreedy
on Aug 13, 2026https://github.com/python/cpython/issues/155648#event-29377290961
terryjreedyhttps://github.com/terryjreedy
IDLE Issueshttps://github.com/orgs/python/projects/31
on Aug 13, 2026https://github.com/python/cpython/issues/155648#event-29377293227
terryjreedyhttps://github.com/terryjreedy
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
topic-IDLEhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-IDLE%22
on Aug 13, 2026https://github.com/python/cpython/issues/155648#event-29377291700
terryjreedyhttps://github.com/terryjreedy
on Aug 13, 2026https://github.com/python/cpython/issues/155648#event-29377291968
Umbrella issue: idlelib analysis with code-review-toolkit #154760https://github.com/python/cpython/issues/154760
StanFromIrelandhttps://github.com/StanFromIreland
stdlibStandard Library Python modules in the Lib/ directoryhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22stdlib%22
on Aug 13, 2026https://github.com/python/cpython/issues/155648#event-29397552083
terryjreedyhttps://github.com/terryjreedy
on Aug 23, 2026https://github.com/python/cpython/issues/155648#event-29864705378
gh-155648: In IDLE tests, call unittest.main without exit arg (#156249)https://github.com/python/cpython/commit/c20318bf09e59946f805ace2bd15f70524009edc
gh-155648https://github.com/python/cpython/issues/155648
#156249https://github.com/python/cpython/pull/156249
c20318bhttps://github.com/python/cpython/commit/c20318bf09e59946f805ace2bd15f70524009edc
[3.13] gh-155648: In IDLE tests, call unittest.main without exit arg (G…https://github.com/python/cpython/commit/7edd8bd62579f39a06084837df170f770968e449
gh-155648https://github.com/python/cpython/issues/155648
G…https://github.com/python/cpython/pull/156249
7edd8bdhttps://github.com/python/cpython/commit/7edd8bd62579f39a06084837df170f770968e449
[3.14] gh-155648: In IDLE tests, call unittest.main without exit arg (G…https://github.com/python/cpython/commit/63bec1a6d9bf60e199cb036b9355bcb9d855ff82
gh-155648https://github.com/python/cpython/issues/155648
G…https://github.com/python/cpython/pull/156249
63bec1ahttps://github.com/python/cpython/commit/63bec1a6d9bf60e199cb036b9355bcb9d855ff82
gh-155648: Fix IDLE tests that cannot fail (#156257)https://github.com/python/cpython/commit/ee1da7ec8e939a998d5ecf2c749d45eb8f7714e4
gh-155648https://github.com/python/cpython/issues/155648
#156257https://github.com/python/cpython/pull/156257
ee1da7ehttps://github.com/python/cpython/commit/ee1da7ec8e939a998d5ecf2c749d45eb8f7714e4
[3.13] gh-155648: Fix IDLE tests that cannot fail (GH-156257) (#156317)https://github.com/python/cpython/commit/708b4574e53bc311d23865937e383d0aa2bf27be
gh-155648https://github.com/python/cpython/issues/155648
GH-156257https://github.com/python/cpython/pull/156257
#156317https://github.com/python/cpython/pull/156317
708b457https://github.com/python/cpython/commit/708b4574e53bc311d23865937e383d0aa2bf27be
[3.14] gh-155648: Fix IDLE tests that cannot fail (GH-156257) (#156316)https://github.com/python/cpython/commit/7cc0932332f1fe680bb370c314871c0a884293d0
gh-155648https://github.com/python/cpython/issues/155648
GH-156257https://github.com/python/cpython/pull/156257
#156316https://github.com/python/cpython/pull/156316
7cc0932https://github.com/python/cpython/commit/7cc0932332f1fe680bb370c314871c0a884293d0
terryjreedyhttps://github.com/terryjreedy
on Aug 25, 2026https://github.com/python/cpython/issues/155648#event-29949201322
hugovkhttps://github.com/hugovk
on Aug 27, 2026https://github.com/python/cpython/issues/155648#event-30098273174
[3.15] gh-155648: Fix IDLE tests that cannot fail (GH-156257) (#156315)https://github.com/python/cpython/commit/96ae61deca8c228cb5581a97beaa7c7034b463fd
gh-155648https://github.com/python/cpython/issues/155648
GH-156257https://github.com/python/cpython/pull/156257
#156315https://github.com/python/cpython/pull/156315
96ae61dhttps://github.com/python/cpython/commit/96ae61deca8c228cb5581a97beaa7c7034b463fd
clin1234https://github.com/clin1234
on Aug 27, 2026https://github.com/python/cpython/issues/155648#event-30133591938
pythongh-155648: Fix IDLE tests that cannot fail (python#156257)https://github.com/clin1234/cpython/commit/ea0a47cfb10529befbf09df9377b8d7dcf079c9c
pythongh-155648https://github.com/python/cpython/issues/155648
python#156257https://github.com/python/cpython/pull/156257
ea0a47chttps://github.com/clin1234/cpython/commit/ea0a47cfb10529befbf09df9377b8d7dcf079c9c
terryjreedyhttps://github.com/terryjreedy
on Sep 9, 2026https://github.com/python/cpython/issues/155648#event-30792940405
gh-155648: Write the empty and placeholder IDLE tests (#156260)https://github.com/python/cpython/commit/f8f8c30ed4e20208e8badbc9e2fc3822e8db8e49
gh-155648https://github.com/python/cpython/issues/155648
#156260https://github.com/python/cpython/pull/156260
f8f8c30https://github.com/python/cpython/commit/f8f8c30ed4e20208e8badbc9e2fc3822e8db8e49
[3.14] gh-155648: Write the empty and placeholder IDLE tests (GH-156260…https://github.com/python/cpython/commit/a6d25db909350a4971bd8e41f99cac06c1b1e130
gh-155648https://github.com/python/cpython/issues/155648
GH-156260https://github.com/python/cpython/pull/156260
a6d25dbhttps://github.com/python/cpython/commit/a6d25db909350a4971bd8e41f99cac06c1b1e130
[3.13] gh-155648: Write the empty and placeholder IDLE tests (GH-156260…https://github.com/python/cpython/commit/9c193bd791de711ac2bf4aa372bbefd37be693da
gh-155648https://github.com/python/cpython/issues/155648
GH-156260https://github.com/python/cpython/pull/156260
9c193bdhttps://github.com/python/cpython/commit/9c193bd791de711ac2bf4aa372bbefd37be693da
hugovkhttps://github.com/hugovk
on Sep 9, 2026https://github.com/python/cpython/issues/155648#event-30846470576
[3.15] gh-155648: Write the empty and placeholder IDLE tests (GH-156260…https://github.com/python/cpython/commit/cd8545324ffebcb1b356e628eef4a56b0232b7fa
gh-155648https://github.com/python/cpython/issues/155648
GH-156260https://github.com/python/cpython/pull/156260
cd85453https://github.com/python/cpython/commit/cd8545324ffebcb1b356e628eef4a56b0232b7fa
maurycyhttps://github.com/maurycy
on Sep 10, 2026https://github.com/python/cpython/issues/155648#event-30913519438
Merge branch 'main' into tachyon-native-callablehttps://github.com/maurycy/cpython/commit/e028ff54dbf50b4ed3a72a6ec9d41eb721eb66b2
e028ff5https://github.com/maurycy/cpython/commit/e028ff54dbf50b4ed3a72a6ec9d41eb721eb66b2
clin1234https://github.com/clin1234
on Sep 12, 2026https://github.com/python/cpython/issues/155648#event-31023919963
pythongh-155648: Write the empty and placeholder IDLE tests (python#1…https://github.com/clin1234/cpython/commit/34761c7d1aa19062f96dfee7fc68f0d6ec387953
pythongh-155648https://github.com/python/cpython/issues/155648
python#1…https://github.com/python/cpython/pull/156260
34761c7https://github.com/clin1234/cpython/commit/34761c7d1aa19062f96dfee7fc68f0d6ec387953
johnslavikhttps://github.com/johnslavik
on Sep 14, 2026https://github.com/python/cpython/issues/155648#event-31099052648
pythongh-155648: Write the empty and placeholder IDLE tests (python#1…https://github.com/johnslavik/cpython/commit/113169cd1eb26105608a740ac4eb9ea690bdd2a1
pythongh-155648https://github.com/python/cpython/issues/155648
python#1…https://github.com/python/cpython/pull/156260
113169chttps://github.com/johnslavik/cpython/commit/113169cd1eb26105608a740ac4eb9ea690bdd2a1
terryjreedyhttps://github.com/terryjreedy
on Oct 9, 2026https://github.com/python/cpython/issues/155648#event-32895984026
[3.15] gh-155648: In IDLE tests, call unittest.main without exit arg (G…https://github.com/python/cpython/commit/433f01671819a2814d389f4f3845ecbe65efbf9c
gh-155648https://github.com/python/cpython/issues/155648
G…https://github.com/python/cpython/pull/156249
433f016https://github.com/python/cpython/commit/433f01671819a2814d389f4f3845ecbe65efbf9c
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/cpython/issues/155648
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/cpython/issues/155648
terryjreedyhttps://github.com/terryjreedy
stdlibStandard Library Python modules in the Lib/ directoryhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22stdlib%22
topic-IDLEhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-IDLE%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
IDLE Issueshttps://github.com/orgs/python/projects/31
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.