Title: gh-151678: Add tests for tkinter.Menu by serhiy-storchaka · Pull Request #151685 · python/cpython · GitHub
Open Graph Title: gh-151678: Add tests for tkinter.Menu by serhiy-storchaka · Pull Request #151685 · python/cpython
X Title: gh-151678: Add tests for tkinter.Menu by serhiy-storchaka · Pull Request #151685 · python/cpython
Description: Cover previously-untested Menu methods in MenuTest: adding and inserting items of every type (command, checkbutton, radiobutton, separator, cascade), with order and type verification; deleting single items and ranges, including cleanup of the associated Tcl command; index resolution (end, last, label, integer, active, none); invoking command, checkbutton and radiobutton items; entry xposition/yposition; post/unpost/tk_popup mapping. It also tests per-entry configuration options (accelerator, underline, state, colors, columnbreak, hidemargin, onvalue/offvalue, value, indicatoron) and the errors raised for invalid indices, entry types, option names and option values. Issue: gh-151678
Open Graph Description: Cover previously-untested Menu methods in MenuTest: adding and inserting items of every type (command, checkbutton, radiobutton, separator, cascade), with order and type verification; deleting sin...
X Description: Cover previously-untested Menu methods in MenuTest: adding and inserting items of every type (command, checkbutton, radiobutton, separator, cascade), with order and type verification; deleting sin...
Opengraph URL: https://github.com/python/cpython/pull/151685
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:fccbaacf-79bc-6de0-6989-1c526ad6c85c |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 90F4:108FC:B3BA2D:F0D5A5:6A531CD6 |
| html-safe-nonce | 4559a6e0a3a12f530ebc7728daff884762557aa4d8fd4a1431a5ee7456bc1192 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MEY0OjEwOEZDOkIzQkEyRDpGMEQ1QTU6NkE1MzFDRDYiLCJ2aXNpdG9yX2lkIjoiNjA1ODk0MDMxNTA1Nzk4Njc3NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d8a6003af51d58854480d7d708b2316e386fb3f6aa8a39b8fa69f4171af393ef |
| hovercard-subject-tag | pull_request:3895186650 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/python/cpython/pull/151685/files |
| twitter:image | https://avatars.githubusercontent.com/u/3659035?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/3659035?s=400&v=4 |
| og:image:alt | Cover previously-untested Menu methods in MenuTest: adding and inserting items of every type (command, checkbutton, radiobutton, separator, cascade), with order and type verification; deleting sin... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 | true |
| 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