Commit Graph

38 Commits

Author SHA1 Message Date
Serhiy Storchaka f64ccb9acf Issue #25263: Fixed the tkinter.test.test_tkinter.test_font.FontTest test
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.
2015-11-10 15:32:54 +02:00
Serhiy Storchaka dcb12f46d1 Fixed full Tcl version parsing in tests for pre-final versions. 2015-04-22 08:35:53 +03:00
Serhiy Storchaka 7a02582329 Issue #22769: Fixed ttk.Treeview.tag_has() when called without arguments. 2014-11-07 12:02:11 +02:00
Serhiy Storchaka e73b8c64b8 Always handle non-handled events before destoying root widget in tests.
This gets rid of  Tcl warnings when they are handled later when the root is
already destroyed.
2014-10-12 20:32:05 +03:00
Serhiy Storchaka ceaf6827e2 Issue #22226: Added private function _splitdict() in the Tkinter module.
First letter no longer is stripped from the "status" key in
the result of Treeview.heading().
2014-09-06 22:47:02 +03:00
Serhiy Storchaka d3ea06537c Issue #22236: Tkinter tests now don't reuse default root window. New root
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.
2014-08-24 09:07:09 +03:00
Serhiy Storchaka 95cf98625b Import Tkinter as tkinter to help merging and avoid backporting errors. 2014-08-21 10:00:41 +03:00
Serhiy Storchaka f94686f6b8 Issue #6181: Fixed minor bugs in tkinter.Listbox methods:
bbox(), curselection() and get().
2014-06-02 21:30:53 +03:00
Serhiy Storchaka adad50c8fb Added missed calls of splitlist(). 2014-06-01 11:21:34 +03:00
Serhiy Storchaka edb6428e43 Issue #21402: tkinter.ttk now works when default root window is not set. 2014-05-28 18:38:15 +03:00
Serhiy Storchaka 2e27ddd5a7 Fixed typo. 2014-01-13 14:22:45 +02:00
Serhiy Storchaka 6183f70119 Try to fix some ttk tests. Error messages were changed in 8.6b3. 2014-01-11 00:09:50 +02:00
Serhiy Storchaka 9be238d313 Issue #20072: Fixed multiple errors in tkinter with wantobjects is False.
* 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.
2014-01-07 19:32:58 +02:00
Serhiy Storchaka 62cd124ada Print Tk patchlevel in Tk and Ttk tests in verbose mode (issue19654). 2013-11-21 19:24:04 +02:00
Antoine Pitrou ca035a8b66 Fix buildbot failure 2013-11-17 21:27:20 +01:00
Serhiy Storchaka 3dbbef9d76 Fix merge error in issue #19602. 2013-11-17 12:49:28 +02:00
Serhiy Storchaka 3f2aade688 Issue #19602: Use specific asserts in tkinter tests. 2013-11-17 00:43:03 +02:00
Serhiy Storchaka f87854e7bf Fix Tkinter tests on Tk 8.5 with patchlevel < 8.5.11 (issue #19085). 2013-11-09 21:15:26 +02:00
Serhiy Storchaka 4a21726fe6 Issue #19085: Fix Tkinter tests with Tcl/Tk 8.4. 2013-11-02 17:27:59 +02:00
Serhiy Storchaka 090b6b1baf Issue #10734: Fix and re-enable test_ttk test_heading_callback. 2013-11-02 10:54:17 +02:00
Serhiy Storchaka dd80816973 Issue #19085: Added basic tests for all tkinter widget options. 2013-11-02 10:46:21 +02:00
Serhiy Storchaka b445558d84 Issue #16809: Fixed some tkinter incompabilities with Tcl/Tk 8.6. 2013-08-22 17:53:16 +03:00
Terry Jan Reedy cc8506ecbe Update int division to quiet 2to3 warning. 2013-07-27 20:28:53 -04:00
Serhiy Storchaka e39ba04e22 Issue #15861: tkinter now correctly works with lists and tuples containing
strings with whitespaces, backslashes or unbalanced braces.
2013-01-15 18:01:21 +02:00
Benjamin Peterson c7bbd7be94 don't rely on dict order 2012-02-21 00:15:10 -05:00
Ned Deily 9a7a4cc3a7 Issue #10734: Temporarily disable test_ttk test_heading_callback on 2.7 as well. 2011-07-03 21:37:03 -07:00
Ned Deily 64e59959f2 Issue #10736: Fix test_ttk test_widgets failures with Cocoa Tk 8.5.9
on Mac OS X.  (Patch by Ronald Oussoren)
2011-06-27 23:09:31 -07:00
Ezio Melotti c2077b0d9b #11565: Fix several typos. Patch by Piotr Kasprzyk. 2011-03-16 12:34:31 +02:00
Antoine Pitrou 0b481ca321 Merged revisions 85018 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85018 | antoine.pitrou | 2010-09-26 18:36:33 +0200 (dim., 26 sept. 2010) | 4 lines

  Issue #8445: try to fix some buildbot failures on test_ttk_guionly.
  Patch by Guilherme.
........
2010-10-09 10:09:06 +00:00
Martin v. Löwis e84089e3f1 Issue #8204: Fix test_ttk notebook test by forcing focus. 2010-04-08 17:38:32 +00:00
Martin v. Löwis 1b287c7434 Issue #8344: Fix test_ttk bug on FreeBSD. 2010-04-08 09:47:40 +00:00
Florent Xicluna dfd3618422 #7092: silence some py3k warnings 2010-04-02 08:30:21 +00:00
Benjamin Peterson 5c8da86f3a convert usage of fail* to assert* 2009-06-30 22:57:08 +00:00
Mark Dickinson 3e4caeb3bf Issue #5341: Fix a variety of spelling errors. 2009-02-21 20:27:01 +00:00
Guilherme Polo b64c989efc Restore the previous geometry before leaving the test 2009-02-02 20:23:29 +00:00
Guilherme Polo 905c6b7f48 Use a single Tcl interpreter through all these tests, this may help some
failing buildbots.
2009-02-02 00:38:54 +00:00
Guilherme Polo 6d51f12c5e Make sure the root windows gets destroyed 2009-01-28 20:02:01 +00:00
Guilherme Polo cda93aafde Added the ttk module. See issue #2983: Ttk support for Tkinter. 2009-01-28 13:09:03 +00:00