FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.14] gh-151678: Add tests for tkinter.Canvas (GH-151683) by miss-islington · Pull Request #151717 · python/cpython · GitHub

Repository navigation

[3.14] gh-151678: Add tests for tkinter.Canvas (GH-151683) - #151717

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

serhiy-storchaka merged 1 commit into
python:3.14from
miss-islington:backport-bb127c5-3.14

Conversation

miss-islington commented Jun 19, 2026 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Contributor

Cover previously-untested Canvas methods in CanvasTest:

  • item creation and types, bbox, coordinate conversion, move/scale,
    find and addtag queries, tags, item configuration, stacking order,
    text-item editing, selection, focus, scan and postscript;
  • the create_arc, create_oval, create_bitmap, create_image,
    create_text and create_window item creation methods, checking
    coordinates, default and explicit options, valid enumerations and
    rejection of invalid values;
  • tag_bind() and tag_unbind(), checking the returned function id and
    binding script, querying bound sequences, the add parameter, event
    delivery to items via a tag, and removal of a single binding by id
    or all bindings for a sequence.
    (cherry picked from commit bb127c5)

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

Cover previously-untested Canvas methods in CanvasTest:

* item creation and types, bbox, coordinate conversion, move/scale,
  find and addtag queries, tags, item configuration, stacking order,
  text-item editing, selection, focus, scan and postscript;
* the create_arc, create_oval, create_bitmap, create_image,
  create_text and create_window item creation methods, checking
  coordinates, default and explicit options, valid enumerations and
  rejection of invalid values;
* tag_bind() and tag_unbind(), checking the returned function id and
  binding script, querying bound sequences, the add parameter, event
  delivery to items via a tag, and removal of a single binding by id
  or all bindings for a sequence.
(cherry picked from commit bb127c5)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
bedevere-app Bot added the tests Tests in the Lib/test dir label Jun 19, 2026
serhiy-storchaka enabled auto-merge (squash) June 19, 2026 09:18
serhiy-storchaka merged commit 30db1e2 into python:3.14 Jun 19, 2026
51 checks passed
miss-islington deleted the backport-bb127c5-3.14 branch June 19, 2026 09:41
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL