Title: Increase test coverage for tkinter.simpledialog · Issue #144106 · python/cpython · GitHub
Open Graph Title: Increase test coverage for tkinter.simpledialog · Issue #144106 · python/cpython
X Title: Increase test coverage for tkinter.simpledialog · Issue #144106 · python/cpython
Description: The tkinter.simpledialog module currently has low test coverage (F). test_simpledialog only tests askinteger function. I tried askfloat, it works well but askstring throws an unrelated exception. Linked PRs gh-144107
Open Graph Description: The tkinter.simpledialog module currently has low test coverage (F). test_simpledialog only tests askinteger function. I tried askfloat, it works well but askstring throws an unrelated exception....
X Description: The tkinter.simpledialog module currently has low test coverage (F). test_simpledialog only tests askinteger function. I tried askfloat, it works well but askstring throws an unrelated exception....
Opengraph URL: https://github.com/python/cpython/issues/144106
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Increase test coverage for tkinter.simpledialog","articleBody":"The `tkinter.simpledialog` module currently has low test coverage (%46). test_simpledialog only tests `askinteger` function. I tried `askfloat`, it works well but `askstring` throws an unrelated exception.\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-144107\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/b9788213","@type":"Person","name":"b9788213"},"datePublished":"2026-01-21T12:52:39.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/144106/cpython/issues/144106"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:fe097b41-29db-5942-7d5e-2ab3badbb8e7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A45E:14F0B0:12F97ED:1992035:6A534612 |
| html-safe-nonce | bac9835bd9a903802fb0c4ea3ff3d956a9cd4f95aa072fcc0a70cae3b0bca706 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNDVFOjE0RjBCMDoxMkY5N0VEOjE5OTIwMzU6NkE1MzQ2MTIiLCJ2aXNpdG9yX2lkIjoiNDU0NDU3ODE5OTg4ODI4MzE1NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e8fe0e5c4cd3a7b7fc07d43de6a7d7fec06b59b9a94501f40ab1db434b9be7ab |
| hovercard-subject-tag | issue:3838146245 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/144106/issue_layout |
| twitter:image | https://opengraph.githubassets.com/97ce52924618195e022aeb16dfb5d7deb6046b9c40707cda558dd84a4f495dc5/python/cpython/issues/144106 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/97ce52924618195e022aeb16dfb5d7deb6046b9c40707cda558dd84a4f495dc5/python/cpython/issues/144106 |
| og:image:alt | The tkinter.simpledialog module currently has low test coverage (F). test_simpledialog only tests askinteger function. I tried askfloat, it works well but askstring throws an unrelated exception.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | b9788213 |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width