Title: Tkinter: `test_boundary_values_accepted` fails · Issue #154357 · python/cpython · GitHub
Open Graph Title: Tkinter: `test_boundary_values_accepted` fails · Issue #154357 · python/cpython
X Title: Tkinter: `test_boundary_values_accepted` fails · Issue #154357 · python/cpython
Description: Bug report Bug description: test.test_tkinter.test_simpledialog.QueryDialogTest.test_boundary_values_accepted is failing, for example in this run https://github.com/python/cpython/actions/runs/29705949750/job/88242885156?pr=154202: =====...
Open Graph Description: Bug report Bug description: test.test_tkinter.test_simpledialog.QueryDialogTest.test_boundary_values_accepted is failing, for example in this run https://github.com/python/cpython/actions/runs/2970...
X Description: Bug report Bug description: test.test_tkinter.test_simpledialog.QueryDialogTest.test_boundary_values_accepted is failing, for example in this run https://github.com/python/cpython/actions/runs/2970...
Opengraph URL: https://github.com/python/cpython/issues/154357
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Tkinter: `test_boundary_values_accepted` fails","articleBody":"# Bug report\n\n### Bug description:\n\n`test.test_tkinter.test_simpledialog.QueryDialogTest.test_boundary_values_accepted` is failing, for example in this run https://github.com/python/cpython/actions/runs/29705949750/job/88242885156?pr=154202:\n```python\n======================================================================\nFAIL: test_boundary_values_accepted (test.test_tkinter.test_simpledialog.QueryDialogTest.test_boundary_values_accepted)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File \"D:\\a\\cpython\\cpython\\Lib\\test\\test_tkinter\\test_simpledialog.py\", line 246, in test_boundary_values_accepted\n self.assertEqual(d.result, 10)\n ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^\nAssertionError: None != 10\n\n----------------------------------------------------------------------\n```\n\nI can also reproduce the failure locally on the main branch:\n```python\n======================================================================\nFAIL: test_boundary_values_accepted (test.test_tkinter.test_simpledialog.QueryDialogTest.test_boundary_values_accepted)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File \"/home/a/cpython/Lib/test/test_tkinter/test_simpledialog.py\", line 536, in test_boundary_values_accepted\n self.assertEqual(d.result, 20)\n ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^\nAssertionError: None != 20\n\n======================================================================\n```\n\n### CPython versions tested on:\n\nCPython main branch\n\n### Operating systems tested on:\n\nLinux, Windows\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-154368\n* gh-154370\n* gh-157063\n* gh-157064\n* gh-157065\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/IvyXu420","@type":"Person","name":"IvyXu420"},"datePublished":"2026-07-21T13:14:40Z","url":"https://github.com/python/cpython/issues/154357"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:45999754-c96a-1411-376b-864b9e7b21e9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C86E:CC1A4:3998435:4945667:6B01F6FC |
| html-safe-nonce | 64da0da8ea53db11b20909d57cbf9ac81fa4561d0f9dbbefbdb8b00558b5757e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODZFOkNDMUE0OjM5OTg0MzU6NDk0NTY2Nzo2QjAxRjZGQyIsInZpc2l0b3JfaWQiOiIxODUwNjY1OTA2NDE5NzcwODQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a5ddac21460cce627cabf7a9b58cfd0eb2130cee41431871cabbe61eb522f9b3 |
| hovercard-subject-tag | issue:4939248049 |
| 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/154357/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f25301c08113aa7cd6729a99b1aea65b51b35e1c4a3db33f98cf54414ad7810b/python/cpython/issues/154357 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f25301c08113aa7cd6729a99b1aea65b51b35e1c4a3db33f98cf54414ad7810b/python/cpython/issues/154357 |
| og:image:alt | Bug report Bug description: test.test_tkinter.test_simpledialog.QueryDialogTest.test_boundary_values_accepted is failing, for example in this run https://github.com/python/cpython/actions/runs/2970... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | IvyXu420 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width