summaryrefslogtreecommitdiffstats
path: root/Lib/tkinter/test
Commit message (Collapse)AuthorAgeFilesLines
* [3.5] bpo-30855: Trying to fix test_use on Windows. (#2585)Victor Stinner2017-07-051-3/+4
| | | | | | | | | | | | | * 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)
* Issue #27939: Fixed bugs in tkinter.ttk.LabeledScale and tkinter.Scale causedSerhiy Storchaka2016-10-302-7/+15
| | | | | by representing the scale as float value internally in Tk. tkinter.IntVar now works if float value is set to underlying Tk variable.
* Issue #22115: Fixed tracing Tkinter variables:Serhiy Storchaka2016-06-261-1/+50
| | | | | | * tracing in the "u" mode now works * 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-0/+51
| | | | 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-136/+178
| | | | Added few missed tests for configure options.
* 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 #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: Fixed test for tkinter.Font on OS X.Serhiy Storchaka2015-06-211-1/+10
|\ \ | |/ | | | | Based on patch by Martin Panter.
| * 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
|\ \ | |/
| * Issue #24408: Added more tkinter.Font tests.Serhiy Storchaka2015-06-091-5/+65
| |
* | Issue #23880: Tkinter's getint() and getdouble() now support Tcl_Obj.Serhiy Storchaka2015-05-062-7/+5
| | | | | | | | Tkinter's getdouble() now supports any numbers (in particular int).
* | Use more precise Tcl version checks in tests.Serhiy Storchaka2015-04-232-4/+6
|\ \ | |/
| * Use more precise Tcl version checks in tests.Serhiy Storchaka2015-04-232-4/+6
| |
* | Fixed full Tcl version parsing in tests for pre-final versions.Serhiy Storchaka2015-04-222-12/+12
|\ \ | |/
| * Fixed full Tcl version parsing in tests for pre-final versions.Serhiy Storchaka2015-04-222-12/+12
| |
* | Issue #23731: Implement PEP 488.Brett Cannon2015-04-131-1/+1
| | | | | | | | | | | | The concept of .pyo files no longer exists. Now .pyc files have an optional `opt-` tag which specifies if any extra optimizations beyond the peepholer were applied.
* | Issue #15133: _tkinter.tkapp.getboolean() now supports Tcl_Obj and alwaysSerhiy Storchaka2015-04-041-4/+30
|\ \ | |/ | | | | | | returns bool. tkinter.BooleanVar now validates input values (accepted bool, int, str, and Tcl_Obj). tkinter.BooleanVar.get() now always returns bool.
| * Issue #15133: _tkinter.tkapp.getboolean() now supports Tcl_Obj and alwaysSerhiy Storchaka2015-04-041-4/+30
| | | | | | | | | | returns bool. tkinter.BooleanVar now validates input values (accepted bool, int, str, 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-1/+16
|\ \ | |/
| * Issue #22769: Fixed ttk.Treeview.tag_has() when called without arguments.Serhiy Storchaka2014-11-071-1/+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.
| * 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 #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-2412-258/+208
|\ \ | |/ | | | | | | | | | | | | | | 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 rootSerhiy Storchaka2014-08-2412-258/+208
| | | | | | | | | | | | | | | | | | 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 #21580: Now Tkinter correctly handles bytes arguments passed to Tk.Serhiy Storchaka2014-07-301-5/+0
|\ \ | |/ | | | | In particular this allows to initialize images from binary data.
| * Issue #21580: Now Tkinter correctly handles bytes arguments passed to Tk.Serhiy Storchaka2014-07-301-5/+0
| | | | | | | | In particular this allows to initialize images from binary data.
| * Issue #6167: Backported tests for Scrollbar.activate() and Scrollbar.set()Serhiy Storchaka2014-07-231-0/+18
| | | | | | | | from 6ae34a948cb4.
* | Issue #6167: Scrollbar.activate() now returns the name of active element ifSerhiy Storchaka2014-07-231-0/+19
| | | | | | | | | | the argument is not specified. Scrollbar.set() now always accepts only 2 arguments. Added tests for Scrollbar.activate() and Scrollbar.set().
* | Issue #18492: Merge with 3.4Zachary Ware2014-06-021-1/+0
|\ \ | |/
| * 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 #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/+341
|\ \ | |/
| * Issue #21605: Added tests for Tkinter images.Serhiy Storchaka2014-06-011-0/+341
| |
* | Added missed calls of splitlist().Serhiy Storchaka2014-06-011-2/+0
|\ \ | |/
| * 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/+39
|\ \ | |/
| * Issue #21402: tkinter.ttk now works when default root window is not set.Serhiy Storchaka2014-05-281-17/+39
| |
* | Fixed new Tkinter tests added in issue #21522 with Tk 8.4.Serhiy Storchaka2014-05-231-6/+13
|\ \ | |/
| * 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 #21522: Added Tkinter tests for Listbox.itemconfigure(),Serhiy Storchaka2014-05-231-0/+181
| | | | | | | | PanedWindow.paneconfigure(), and Menu.entryconfigure().
* | Closes #18604: Merge with 3.4Zachary Ware2014-05-021-44/+2
|\ \ | |/
| * Issue #18604: Consolidated checks for GUI availability.Zachary Ware2014-05-021-44/+2
| | | | | | | | | | | | | | | | | | 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 tkinter.test.support.check_tk_availability. Also, every platform checks whether Tk can be instantiated (if the platform-specific checks passed).
* | Issue #20635: Added tests for Tk geometry managers.Serhiy Storchaka2014-04-132-0/+913
|\ \ | |/
| * Issue #20635: Added tests for Tk geometry managers.Serhiy Storchaka2014-04-132-0/+913
| |