Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-46996: Remove support of Tcl/Tk < 8.5.12 (GH-31839) | Serhiy Storchaka | 2022-03-17 | 1 | -53/+24 |
| | |||||
* | bpo-45979: Fix Tkinter tests with old Tk (>= 8.5.12) (GH-31938) | Serhiy Storchaka | 2022-03-16 | 1 | -2/+2 |
| | |||||
* | bpo-45436: Fix tkinter tests with Tcl/Tk 8.6.11+ (GH-29077) | Zachary Ware | 2021-10-20 | 1 | -2/+5 |
| | | | | | | | Since v8.6.11, a few configuration options seem to accept an empty value where they did not previously; particularly the `type` of a `Menu` widget, and the `compound` of any ttk widget with a label. Providing an explicit expected error message to `checkEnumParam` bypasses the check of an empty value, which no longer raises `TclError`. | ||||
* | Rename Tkinter tests for widget options (GH-23944) | Serhiy Storchaka | 2020-12-25 | 1 | -105/+106 |
| | | | | Every test for widget option starts now with "test_configure_" to distinguish it from tests for widget commands. | ||||
* | bpo-42630: Improve error reporting in Tkinter for absent default root (GH-23781) | Serhiy Storchaka | 2020-12-19 | 1 | -2/+12 |
| | | | | | | | | | | | * Tkinter functions and constructors which need a default root window raise now RuntimeError with descriptive message instead of obscure AttributeError or NameError if it is not created yet or cannot be created automatically. * Add tests for all functions which use default root window. * Fix import in the pynche script. | ||||
* | bpo-19733: Re-enable tests for -image option in Tkinter (GH-23785) | Serhiy Storchaka | 2020-12-16 | 1 | -3/+0 |
| | |||||
* | bpo-41306: Allow scale value to not be rounded (GH-21715) | E-Paine | 2020-10-08 | 1 | -1/+2 |
| | | | | | | | This fixes the test failure with Tk 6.8.10 which is caused by changes to how Tk rounds the `from`, `to` and `tickinterval` arguments. This PR uses `noconv` if the patchlevel is greater than or equal to 8.6.10 (credit to Serhiy for this idea as it is much simpler than what I previously proposed). Going into more detail for those who want it, the Tk change was made in [commit 591f68c](https://github.com/tcltk/tk/commit/591f68cb382525b72664c6fecaab87742b6cc87a) and means that the arguments listed above are rounded relative to the value of `from`. However, when rounding the `from` argument ([line 623](https://github.com/tcltk/tk/blob/591f68cb382525b72664c6fecaab87742b6cc87a/generic/tkScale.c#L623)), it is rounded relative to itself (i.e. rounding `0`) and therefore the assigned value for `from` is always what is given (no matter what values of `from` and `resolution`). Automerge-Triggered-By: @pablogsal | ||||
* | bpo-41384: Raise TclError in tkinter.OptionMenu (GH-21601) | Akuli | 2020-07-27 | 1 | -0/+4 |
| | | | | | ... when an unknown option is passed. TypeError was being raised because a 2to3 fix was missing. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> | ||||
* | bpo-34936: Fix TclError in tkinter.Spinbox.selection_element(). (GH-9760) | Juliette Monsel | 2018-10-18 | 1 | -1/+8 |
| | |||||
* | bpo-23831: Add moveto method to the tkinter.Canvas widget. (GH-9768) | Juliette Monsel | 2018-10-12 | 1 | -0/+23 |
| | |||||
* | bpo-34829: Add missing selection_ methods to the Tkinter Spinbox. (GH-9617) | Juliette Monsel | 2018-10-08 | 1 | -0/+50 |
| | | | | | Implement the methods selection_from(), selection_range(), selection_present() and selection_to() for Tkinter Spinbox. | ||||
* | bpo-34189: Fix checking for bugfix Tcl version. (GH-8397) | Serhiy Storchaka | 2018-07-22 | 1 | -3/+1 |
| | |||||
* | bpo-34189: Add simple tests for new Tk widget options. (GH-8396) | Serhiy Storchaka | 2018-07-22 | 1 | -2/+25 |
| | |||||
* | Issue #26177: Fixed the keys() method for Canvas and Scrollbar widgets. | Serhiy Storchaka | 2016-03-09 | 1 | -2/+11 |
|\ | |||||
| * | Issue #26177: Fixed the keys() method for Canvas and Scrollbar widgets. | Serhiy Storchaka | 2016-03-09 | 1 | -2/+11 |
| | | | | | | | | Added few missed tests for configure options. | ||||
* | | Issue #25263: Trying to fix test_use on Windows. | Serhiy Storchaka | 2015-11-07 | 1 | -3/+4 |
|/ | |||||
* | Use more precise Tcl version checks in tests. | Serhiy Storchaka | 2015-04-23 | 1 | -2/+2 |
|\ | |||||
| * | Use more precise Tcl version checks in tests. | Serhiy Storchaka | 2015-04-23 | 1 | -2/+2 |
| | | |||||
* | | Issue #22236: Tkinter tests now don't reuse default root window. New root | Serhiy Storchaka | 2014-08-24 | 1 | -24/+24 |
|\ \ | |/ | | | | | | | | | | | | | | | window is created for every test class. Fixed Tkinter images copying operations in NoDefaultRoot mode. Tcl command names generated for "after" callbacks now contains a name of original function. | ||||
| * | Issue #22236: Tkinter tests now don't reuse default root window. New root | Serhiy Storchaka | 2014-08-24 | 1 | -24/+24 |
| | | | | | | | | | | | | | | | | | | window is created for every test class. Fixed Tkinter images copying operations in NoDefaultRoot mode. Tcl command names generated for "after" callbacks now contains a name of original function. | ||||
| * | Issue #6167: Backported tests for Scrollbar.activate() and Scrollbar.set() | Serhiy Storchaka | 2014-07-23 | 1 | -0/+18 |
| | | | | | | | | from 6ae34a948cb4. | ||||
* | | Issue #6167: Scrollbar.activate() now returns the name of active element if | Serhiy Storchaka | 2014-07-23 | 1 | -0/+19 |
|/ | | | | | the argument is not specified. Scrollbar.set() now always accepts only 2 arguments. Added tests for Scrollbar.activate() and Scrollbar.set(). | ||||
* | Issue #6181: Fixed minor bugs in tkinter.Listbox methods: | Serhiy Storchaka | 2014-06-02 | 1 | -10/+42 |
| | | | | bbox(), curselection() and get(). | ||||
* | Fixed new Tkinter tests added in issue #21522 with Tk 8.4. | Serhiy Storchaka | 2014-05-23 | 1 | -6/+13 |
| | |||||
* | Issue #21522: Added Tkinter tests for Listbox.itemconfigure(), | Serhiy Storchaka | 2014-05-23 | 1 | -0/+181 |
| | | | | PanedWindow.paneconfigure(), and Menu.entryconfigure(). | ||||
* | Issue #19761: Fixed Tkinter tests on OS X. | Serhiy Storchaka | 2014-02-03 | 1 | -4/+5 |
|\ | |||||
| * | Issue #19761: Fixed Tkinter tests on OS X. | Serhiy Storchaka | 2014-02-03 | 1 | -4/+5 |
| | | |||||
* | | Issue #19733: Temporary disable test_image on MacOSX. | Serhiy Storchaka | 2013-11-23 | 1 | -0/+3 |
|\ \ | |/ | |||||
| * | Issue #19733: Temporary disable test_image on MacOSX. | Serhiy Storchaka | 2013-11-23 | 1 | -0/+3 |
| | | |||||
* | | Print Tk patchlevel in Tk and Ttk tests in verbose mode (issue19654). | Serhiy Storchaka | 2013-11-21 | 1 | -1/+2 |
|\ \ | |/ | |||||
| * | Print Tk patchlevel in Tk and Ttk tests in verbose mode (issue19654). | Serhiy Storchaka | 2013-11-21 | 1 | -1/+2 |
| | | |||||
* | | Fix Tkinter tests on Tk 8.5 with patchlevel < 8.5.11 (issue #19085). | Serhiy Storchaka | 2013-11-09 | 1 | -3/+8 |
|\ \ | |/ | |||||
| * | Fix Tkinter tests on Tk 8.5 with patchlevel < 8.5.11 (issue #19085). | Serhiy Storchaka | 2013-11-09 | 1 | -3/+8 |
| | | |||||
* | | Revert wrong change in previous commit (issue #19085). | Serhiy Storchaka | 2013-11-05 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Revert wrong change in previous commit (issue #19085). | Serhiy Storchaka | 2013-11-05 | 1 | -1/+1 |
| | | |||||
* | | Fix test_insertwidth Tkinter tests on Tk 8.5 with patchlevel >= 8.5.12 ↵ | Serhiy Storchaka | 2013-11-05 | 1 | -4/+4 |
|\ \ | |/ | | | | | (issue #19085). | ||||
| * | Fix test_insertwidth Tkinter tests on Tk 8.5 with patchlevel >= 8.5.12 ↵ | Serhiy Storchaka | 2013-11-05 | 1 | -4/+4 |
| | | | | | | | | (issue #19085). | ||||
* | | Issue #19085: Fix running test_ttk_textonly on displayless host. | Serhiy Storchaka | 2013-11-04 | 1 | -2/+3 |
|\ \ | |/ | |||||
| * | Issue #19085: Fix running test_ttk_textonly on displayless host. | Serhiy Storchaka | 2013-11-04 | 1 | -2/+3 |
| | | |||||
* | | Issue #6157: Fixed tkinter.Text.debug(). tkinter.Text.bbox() now raises | Serhiy Storchaka | 2013-11-03 | 1 | -0/+13 |
|\ \ | |/ | | | | | | | TypeError instead of TclError on wrong number of arguments. Original patch by Guilherme Polo. | ||||
| * | Issue #6157: Fixed tkinter.Text.debug(). Original patch by Guilherme Polo. | Serhiy Storchaka | 2013-11-03 | 1 | -0/+13 |
|/ | |||||
* | Issue #6160: The bbox() method of tkinter.Spinbox now returns a tuple of | Serhiy Storchaka | 2013-11-03 | 1 | -0/+12 |
| | | | | integers instead of a string. Based on patch by Guilherme Polo. | ||||
* | Issue #19085: Fixed some Tkinter tests on Windows. | Serhiy Storchaka | 2013-11-02 | 1 | -7/+7 |
| | |||||
* | Issue #19085: Added basic tests for all tkinter widget options. | Serhiy Storchaka | 2013-11-02 | 1 | -0/+919 |