Skip to content

[3.14] gh-151678: Add tests for tkinter.Menu (GH-151685)#151710

Merged
serhiy-storchaka merged 1 commit into
python:3.14from
miss-islington:backport-ef5c32a-3.14
Jun 19, 2026
Merged

[3.14] gh-151678: Add tests for tkinter.Menu (GH-151685)#151710
serhiy-storchaka merged 1 commit into
python:3.14from
miss-islington:backport-ef5c32a-3.14

Conversation

@miss-islington

@miss-islington miss-islington commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Cover previously-untested Menu methods in MenuTest: adding, inserting and
deleting items of every type, index resolution, invoking items, entry x/y
positions, and post/unpost/tk_popup mapping.

Also test per-entry configuration options and the errors raised for
invalid indices, entry types, option names and option values.
(cherry picked from commit ef5c32a)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com
Co-authored-by: Claude Opus 4.8 (1M context) noreply@anthropic.com

Cover previously-untested Menu methods in MenuTest: adding, inserting and
deleting items of every type, index resolution, invoking items, entry x/y
positions, and post/unpost/tk_popup mapping.

Also test per-entry configuration options and the errors raised for
invalid indices, entry types, option names and option values.
(cherry picked from commit ef5c32a)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@bedevere-app bedevere-app Bot added the tests Tests in the Lib/test dir label Jun 19, 2026
@serhiy-storchaka serhiy-storchaka enabled auto-merge (squash) June 19, 2026 09:00
@serhiy-storchaka serhiy-storchaka merged commit 7044daa into python:3.14 Jun 19, 2026
51 checks passed
@miss-islington miss-islington deleted the backport-ef5c32a-3.14 branch June 19, 2026 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants