summaryrefslogtreecommitdiffstats
path: root/Lib/lib-tk/test
Commit message (Collapse)AuthorAgeFilesLines
* [2.7] bpo-27313: Avoid test_ttk_guionly ComboboxTest fail with macOS Cocoa ↵Ned Deily2019-02-241-1/+6
| | | | Tk (GH-12015)
* bpo-26386: Re-enable missing widget testcases in test_ttk_guionly. (GH-12014)Ned Deily2019-02-241-4/+0
|
* [2.7] Fix checking for bugfix Tcl version. (GH-10185). (GH-10188)Serhiy Storchaka2018-10-281-2/+2
| | | | | | (cherry picked from commit 18d57b4d6262bf96b5ac307bd84837c29ea04083) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [2.7] bpo-34936: Fix TclError in tkinter.Spinbox.selection_element(). ↵Serhiy Storchaka2018-10-211-0/+8
| | | | | | | | (GH-9760) (GH-9957) (GH-9968) (cherry picked from commit 1deea5e53991b46351f6bb395b22365c9455ed88). (cherry picked from commit bd9c2ce7acaef45f23c2659b854fc9925096d040) Co-authored-by: Juliette Monsel <j4321@users.noreply.github.com>
* [2.7] bpo-34189: Add simple tests for new Tk widget options. (GH-8396). ↵Serhiy Storchaka2018-07-222-3/+36
| | | | | | | (GH-8400) (cherry picked from commit e271ca78e37a502b3dc1036f824aa3999efcd56b) (cherry picked from commit c75c1e0e8aeb720ac3fcfab119b70cabba4e8235)
* bpo-32857: Raise error when tkinter after_cancel() is called with None. ↵Cheryl Sabella2018-05-051-0/+122
| | | | | (GH-5701) (GH-6620) (cherry picked from commit 74382a3f175ac285cc924a73fd758e8dc3cc41bb)
* [2.7] bpo-33096: Fix ttk.Treeview.insert. (GH-6228) (GH-6326)Serhiy Storchaka2018-03-311-0/+9
| | | | | | | Allow ttk.Treeview.insert to insert iid that has a false boolean value. Note iid=0 and iid=False would be same. (cherry picked from commit 3ab44c0783eebdff687014f7d14d5dec59b6bd39) Co-authored-by: Garvit Khatri <garvitdelhi@gmail.com>
* bpo-30855: Fix winfo_id related Tkinter test on Windows. (#4121)Serhiy Storchaka2017-10-251-1/+2
|
* bpo-25684: ttk.OptionMenu radiobuttons weren't unique (GH-2276) (GH-2960)Cheryl Sabella2017-09-101-0/+25
| | | | | ttk.OptionMenu radiobuttons weren't unique between instances of OptionMenu. (cherry picked from commit a568e5273382a5dca0c27274f7d8e34c41a87d4d)
* [2.7] bpo-30855: Trying to fix test_use on Windows. (#2586)Victor Stinner2017-07-061-2/+2
| | | | | | | | | | | | | | * bpo-30855: Trying to fix test_use on Windows. Avoid possible weird behavior of WideInt convertion. "winfo id" always returns string hexadecimal representation. (cherry picked from commit b9d672491d5082c541bf267eb7bb99fdc6529324) * bpo-30855: Trying to fix test_use on Windows. (cherry picked from commit 29a2f7c6b38e5a6ed891aa72af38974a1ff2d372) (subTest() removed since it was introduced in Python 3)
* [2.7] bpo-30310: tkFont now supports unicode options (e.g. font family). (#1567)Serhiy Storchaka2017-05-261-1/+11
|
* Issue #22115: Fixed tracing Tkinter variables.Serhiy Storchaka2016-06-261-1/+50
| | | | | * trace_vdelete() with wrong mode no longer break tracing * trace_vinfo() now always returns a list of pairs of strings
* Issue #26386: Fixed ttk.TreeView selection operations with item id'sSerhiy Storchaka2016-06-141-1/+59
| | | | containing spaces.
* Issue #26778: Fixed "a/an/and" typos in code comment and documentation.Serhiy Storchaka2016-04-171-1/+1
|
* Issue #26177: Fixed the keys() method for Canvas and Scrollbar widgets.Serhiy Storchaka2016-03-094-135/+176
|
* Issue #25263: Fixed the tkinter.test.test_tkinter.test_font.FontTest testSerhiy Storchaka2015-11-102-2/+2
| | | | | | | failure when the test is ran the second time. The root attribute was set in parent class in setUpClass and then overridded in child class in tearDownClass.
* Issue #24408: Prevent test_font failures with non-ascii font names.Ned Deily2015-06-211-2/+2
|
* Issue #24408: Fixed test for tkinter.Font on OS X.Serhiy Storchaka2015-06-211-1/+10
| | | | Based on patch by Martin Panter.
* Issue #24408: Added more tkinter.Font tests.Serhiy Storchaka2015-06-091-5/+65
|
* Use more precise Tcl version checks in tests.Serhiy Storchaka2015-04-231-2/+2
|
* Fixed full Tcl version parsing in tests for pre-final versions.Serhiy Storchaka2015-04-222-10/+12
|
* Issue #15133: _tkinter.tkapp.getboolean() now supports long and Tcl_Obj andSerhiy Storchaka2015-04-041-4/+46
| | | | | | always returns bool. tkinter.BooleanVar now validates input values (accepted bool, int, long, str, unicode, and Tcl_Obj). tkinter.BooleanVar.get() now always returns bool.
* Issue #22769: Fixed ttk.Treeview.tag_has() when called without arguments.Serhiy Storchaka2014-11-071-0/+16
|
* Always handle non-handled events before destoying root widget in tests.Serhiy Storchaka2014-10-121-0/+1
| | | | | This gets rid of Tcl warnings when they are handled later when the root is already destroyed.
* Issue #22226: Added private function _splitdict() in the Tkinter module.Serhiy Storchaka2014-09-061-20/+7
| | | | | First letter no longer is stripped from the "status" key in the result of Treeview.heading().
* Issue #22236: Tkinter tests now don't reuse default root window. New rootSerhiy Storchaka2014-08-2411-252/+206
| | | | | | | | | 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.
* Import Tkinter as tkinter to help merging and avoid backporting errors.Serhiy Storchaka2014-08-219-214/+214
|
* Issue #1730136: Fix backported exception name.Ned Deily2014-08-211-1/+1
|
* Issue #21580: Now Tkinter correctly handles binary "data" and "maskdata"Serhiy Storchaka2014-07-311-7/+4
| | | | | | configure options of tkinter.PhotoImage. Added private Tkapp method _createbytearray().
* Issue #1730136: Fix comparison between a tk Font object and an object of aSerhiy Storchaka2014-07-241-0/+35
| | | | different type.
* Issue #6167: Backported tests for Scrollbar.activate() and Scrollbar.set()Serhiy Storchaka2014-07-231-0/+18
| | | | from 6ae34a948cb4.
* Issue #18492: Allow all resources when tests are not run by regrtest.py.Zachary Ware2014-06-021-1/+0
| | | | This changeset also includes cleanup allowed by this behavior change.
* Issue #6181: Fixed minor bugs in tkinter.Listbox methods:Serhiy Storchaka2014-06-023-20/+54
| | | | bbox(), curselection() and get().
* Issue #21605: Added tests for Tkinter images.Serhiy Storchaka2014-06-011-0/+339
|
* Added missed calls of splitlist().Serhiy Storchaka2014-06-011-2/+0
|
* Issue #21402: tkinter.ttk now works when default root window is not set.Serhiy Storchaka2014-05-281-17/+38
|
* Fixed new Tkinter tests added in issue #21522 with Tk 8.4.Serhiy Storchaka2014-05-231-6/+13
|
* Issue #21522: Added Tkinter tests for Listbox.itemconfigure(),Serhiy Storchaka2014-05-231-0/+181
| | | | PanedWindow.paneconfigure(), and Menu.entryconfigure().
* Issue #20635: Added tests for Tk geometry managers.Serhiy Storchaka2014-05-232-0/+900
|
* Issue #18604: Consolidated checks for GUI availability.Zachary Ware2014-05-021-44/+1
| | | | | | | | test_support._is_gui_available is now defined the same way on every platform, and now includes the Windows-specific check that had been in the Windows version of _is_gui_available and the OSX-specific check that was in runtktests.check_tk_availability. Also, every platform checks whether Tk can be instantiated (if the platform-specific checks passed).
* Issue #19761: Fixed Tkinter tests on OS X.Serhiy Storchaka2014-02-032-7/+14
|
* Issue #20368: The null character now correctly passed from Tcl to Python (inSerhiy Storchaka2014-02-031-0/+14
| | | | unicode strings only). Improved error handling in variables-related commands.
* Fixed typo.Serhiy Storchaka2014-01-131-2/+2
|
* tkinter.Text.debug() now always returns 0/1.Serhiy Storchaka2014-01-111-3/+2
| | | | Fixed regression inroduced in issue #6157.
* Try to fix some ttk tests. Error messages were changed in 8.6b3.Serhiy Storchaka2014-01-101-3/+3
|
* Issue #20072: Fixed multiple errors in tkinter with wantobjects is False.Serhiy Storchaka2014-01-074-46/+100
| | | | | | | | | | | | | | | | | | | | * Misc.image_names(), Misc.image_types(), Wm.wm_colormapwindows(), and LabelFrame.panes() now always return a tuple. * Fixed _stringify() for non-ASCII strings. * Fixed error of comparing str and int in tt.LabeledScale._adjust(). * ttk.Notebook.index() now always returns int. * ttk.Notebook.tabs() now always returns a tuple. * ttk.Entry.bbox() now always returns a tuple of ints. * ttk.Entry.validate() now always correctly works. * ttk.Combobox.current() now always returns int. * ttk.Panedwindow.sashpos() now always returns int. * ttk.Treeview.bbox() now always returns a tuple of ints. * ttk.Treeview.get_children() now always returns a tuple. * ttk.Treeview.exists() now always correctly works. * ttk.Treeview.index() now always returns int. * ttk.Treeview.tag_has() now always returns 0 or 1. * And numerous other errors in methods which returns a tuple, list or dict. * Fixed ttk tests for wantobjects is False.
* Backported tests for Tkinter variables.Serhiy Storchaka2013-12-261-0/+152
|
* test_debug in test_tkinter/test_text no longer fails when wantobjects is false.Serhiy Storchaka2013-12-251-2/+3
|
* Issue #19020: Tkinter now uses splitlist() instead of split() in configureSerhiy Storchaka2013-12-251-3/+1
| | | | methods.
* Fixed merging error in changeset 3912934e99ba (issue #19733).Serhiy Storchaka2013-11-241-5/+0
|