Title: Tkinter spinbox test failures on Tk 8.7 · Issue #104856 · python/cpython · GitHub
Open Graph Title: Tkinter spinbox test failures on Tk 8.7 · Issue #104856 · python/cpython
X Title: Tkinter spinbox test failures on Tk 8.7 · Issue #104856 · python/cpython
Description: Tk 8.7 spinboxes allow setting to to an amount less than from, and setting from to an amount greater than to, by swapping the values rather than raising an exception; see https://core.tcl-lang.org/tk/info/841280 . This causes two tests t...
Open Graph Description: Tk 8.7 spinboxes allow setting to to an amount less than from, and setting from to an amount greater than to, by swapping the values rather than raising an exception; see https://core.tcl-lang.org/...
X Description: Tk 8.7 spinboxes allow setting to to an amount less than from, and setting from to an amount greater than to, by swapping the values rather than raising an exception; see https://core.tcl-lang.org/...
Opengraph URL: https://github.com/python/cpython/issues/104856
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Tkinter spinbox test failures on Tk 8.7","articleBody":"Tk 8.7 spinboxes allow setting `to` to an amount less than `from`, and setting `from` to an amount greater than `to`, by swapping the values rather than raising an exception; see https://core.tcl-lang.org/tk/info/841280 . This causes two tests to fail:\r\n\r\n```\r\n======================================================================\r\nFAIL: test_configure_from (test.test_tkinter.test_widgets.SpinboxTest.test_configure_from)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n File \"/Users/user/git/cpython/Lib/test/test_tkinter/test_widgets.py\", line 490, in test_configure_from\r\n self.checkInvalidParam(widget, 'from', 200,\r\n File \"/Users/user/git/cpython/Lib/test/test_tkinter/widget_tests.py\", line 60, in checkInvalidParam\r\n with self.assertRaises(tkinter.TclError) as cm:\r\nAssertionError: TclError not raised\r\n\r\n======================================================================\r\nFAIL: test_configure_to (test.test_tkinter.test_widgets.SpinboxTest.test_configure_to)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n File \"/Users/user/git/cpython/Lib/test/test_tkinter/test_widgets.py\", line 501, in test_configure_to\r\n self.checkInvalidParam(widget, 'to', -200,\r\n File \"/Users/user/git/cpython/Lib/test/test_tkinter/widget_tests.py\", line 60, in checkInvalidParam\r\n with self.assertRaises(tkinter.TclError) as cm:\r\nAssertionError: TclError not raised\r\n```","author":{"url":"https://github.com/chrstphrchvz","@type":"Person","name":"chrstphrchvz"},"datePublished":"2023-05-24T11:22:55.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/104856/cpython/issues/104856"}
| 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:3aa7c1c7-f53b-8bb0-2f7f-1a367e3823d2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C934:DC558:11BB17B:17B5BCA:6969AA18 |
| html-safe-nonce | b432d65de1258a9f301f4ec552e385db30a5b43b74b0c4c8273038fdc39f21ac |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOTM0OkRDNTU4OjExQkIxN0I6MTdCNUJDQTo2OTY5QUExOCIsInZpc2l0b3JfaWQiOiI4OTY3MjA3Mjc0MTIzMjA5MjQxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e23ba2e1e23f0435933dac02e1ca6bca17dee98f922b81495c5a375eeca3aed6 |
| hovercard-subject-tag | issue:1723759622 |
| 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/104856/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5c5adbcf7f619b85b62467a2bf9f3b4419cc7e9e83ce8b26dbaf15fe03684009/python/cpython/issues/104856 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5c5adbcf7f619b85b62467a2bf9f3b4419cc7e9e83ce8b26dbaf15fe03684009/python/cpython/issues/104856 |
| og:image:alt | Tk 8.7 spinboxes allow setting to to an amount less than from, and setting from to an amount greater than to, by swapping the values rather than raising an exception; see https://core.tcl-lang.org/... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | chrstphrchvz |
| hostname | github.com |
| expected-hostname | github.com |
| None | 24c4c97a2d520cb286b35e1a4c22d7a4df3c26a2fa28dd7cdf0e65db327b4de7 |
| 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 | 124667f43168afb6c9c03b7c02eb5b1d2e1be3d9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width