aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_ttk/test_widgets.py
Commit message (Collapse)AuthorAge
* gh-133306: Use \z instead of \Z in regular expressions in the stdlib (GH-133337)Serhiy Storchaka2025-05-03
|
* gh-124111: Update tkinter for compatibility with Tcl/Tk 9.0.0 (GH-124156)Marc Culler2024-11-14
|
* gh-86673: Loosen test_ttk.test_identify() requirements (#125335)Erlend E. Aasland2024-10-13
| | | In aeca373b3 (PR gh-12011, issue gh-71500), test_identify() was changed to expect different results on Darwin. Ned's fix was later adjusted by e52f9bee8. This workaround is only needed for some variants of Tk/Tcl on macOS, so we now allow both the workaround and the generic results for these tests.
* gh-124378: Update test_ttk for Tcl/Tk 8.6.15 (GH-124542)Zachary Ware2024-09-25
| | | Co-authored-by: Marc Culler <culler@users.noreply.github.com>
* gh-120873: Add tests for new widget options in Tk 8.7 (GH-120877)Serhiy Storchaka2024-06-22
|
* gh-120873: Add test for "state" option in ttk.Scale (GH-120874)Serhiy Storchaka2024-06-22
| | | Also refactor the "state" option tests for other ttk widgets.
* gh-104855: Update Tkinter tests for Tcl/Tk 8.7 and 9.0 (GH-120824)Serhiy Storchaka2024-06-22
| | | | | | | | | | | | | | | | | | | | | | 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. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* gh-107262: Update Tkinter tests for Tcl/Tk 8.6.14 (GH-119322)James De Bias2024-05-30
| | | Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* Remove tests_gui variables from Tkinter tests (GH-118280)Serhiy Storchaka2024-04-25
| | | | They were only used in runtktests.py which was removed in f59ed3c310a7ceebf2a56a84ea969a7f75d95b64 (bpo-45229).
* gh-116484: Fix collisions between Checkbutton and ttk.Checkbutton default ↵Serhiy Storchaka2024-03-16
| | | | | | | | names (GH-116495) Change automatically generated tkinter.Checkbutton widget names to avoid collisions with automatically generated tkinter.ttk.Checkbutton widget names within the same parent widget.
* gh-104496: Use correct Tcl or Tk version in Tkinter tests (GH-107688)Serhiy Storchaka2023-08-07
| | | In future Tcl and Tk versions can be desynchronized.
* gh-102515: Remove unused imports in the `Lib/` directory (#102516)Alex Waygood2023-03-08
|
* gh-73588: Fix generation of the default name of tkinter.Checkbutton. (GH-97547)Serhiy Storchaka2022-09-27
| | | | | | Previously, checkbuttons in different parent widgets could have the same short name and share the same state if arguments "name" and "variable" are not specified. Now they are globally unique.
* gh-54781: Move Lib/tkinter/test/test_ttk/ to Lib/test/test_ttk/ (#94070)Victor Stinner2022-06-22
* Move Lib/tkinter/test/test_tkinter/ to Lib/test/test_tkinter/. * Move Lib/tkinter/test/test_ttk/ to Lib/test/test_ttk/. * Add Lib/test/test_ttk/__init__.py based on test_ttk_guionly.py. * Add Lib/test/test_tkinter/__init__.py * Remove old Lib/test/test_tk.py. * Remove old Lib/test/test_ttk_guionly.py. * Add __main__ sub-modules. * Update imports and update references to rename files.