diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-06-22 07:17:55 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-22 07:17:55 (GMT) |
commit | 4fabbf97735ea6d91b32011fb7413d3909b082a0 (patch) | |
tree | 453a438cff1a273c1bfff47c54bdd483160627e3 /Python/context.c | |
parent | 4dc27bc0b76aa5985ccef2901f7a4f5d36b97995 (diff) | |
download | cpython-4fabbf97735ea6d91b32011fb7413d3909b082a0.zip cpython-4fabbf97735ea6d91b32011fb7413d3909b082a0.tar.gz cpython-4fabbf97735ea6d91b32011fb7413d3909b082a0.tar.bz2 |
[3.13] gh-104855: Update Tkinter tests for Tcl/Tk 8.7 and 9.0 (GH-120824) (GH-120864)
The tests are now passed with the current version of Tcl/Tk under
development (8.7b1+ and 9.0b3+).
The following changes were also made to make the tests more flexible:
* Helper methods like checkParam() now interpret the expected error message
as a regular expression instead of a literal.
* Add support of new arguments in checkEnumParam():
- allow_empty=True skips testing with empty string;
- fullname= specifies the name for error message if it differs from the
option name;
- sort=True sorts values for error message.
* Add support of the allow_empty argument in checkReliefParam():
allow_empty=True adds an empty string to the list of accepted values.
* Attributes _clip_highlightthickness, _clip_pad and _clip_borderwidth
specify how negative values of options -highlightthickness, -padx, -pady
and -borderwidth are handled.
* Use global variables for some common error messages.
(cherry picked from commit 6ad26de6e8ab61b035e7ecfff9791c2b349c3ad0)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Python/context.c')
0 files changed, 0 insertions, 0 deletions