Commit Graph

53 Commits

Author SHA1 Message Date
Serhiy Storchaka d97c01ff28 Issue #20067: Tkinter variables now work when wantobjects is false. 2013-12-26 20:06:05 +02:00
Serhiy Storchaka a1de906330 test_debug in test_tkinter/test_text no longer fails when wantobjects is false. 2013-12-25 17:35:24 +02:00
Serhiy Storchaka 848972cac1 Issue #19020: Tkinter now uses splitlist() instead of split() in configure
methods.
2013-12-25 16:35:38 +02:00
Serhiy Storchaka c17565e4a9 Issue #19733: Temporary disable test_image on MacOSX. 2013-11-23 15:21:33 +02:00
Serhiy Storchaka 0b1386d922 Print Tk patchlevel in Tk and Ttk tests in verbose mode (issue19654). 2013-11-21 19:23:19 +02:00
Serhiy Storchaka e3b5a76540 Issue #19602: Use specific asserts in tkinter tests. 2013-11-17 00:42:25 +02:00
Serhiy Storchaka affb9b255b Fix Tkinter tests on Tk 8.5 with patchlevel < 8.5.11 (issue #19085). 2013-11-09 21:16:19 +02:00
Serhiy Storchaka 7c934da0ff Revert wrong change in previous commit (issue #19085). 2013-11-05 22:01:46 +02:00
Serhiy Storchaka 8f9f5870d3 Fix test_insertwidth Tkinter tests on Tk 8.5 with patchlevel >= 8.5.12 (issue #19085). 2013-11-05 21:05:10 +02:00
Serhiy Storchaka 98555f3ac7 Fix typo in tkinter tests (issue #19085). 2013-11-05 20:17:50 +02:00
Serhiy Storchaka 2028e01313 Issue #19085: Fix running test_ttk_textonly on displayless host. 2013-11-04 23:05:37 +02:00
Serhiy Storchaka 8d8599ce0c Issue #19085: Fix Tkinter tests on Tk 8.5 with patchlevel < 8.5.12. 2013-11-04 22:11:12 +02:00
Serhiy Storchaka b2817327b9 Issue #19085: Fixed pixels rounding for last Tk patchlevels. 2013-11-03 18:24:31 +02:00
Serhiy Storchaka 0b9e815d8d Issue #6157: Fixed tkinter.Text.debug(). Original patch by Guilherme Polo. 2013-11-03 14:29:35 +02:00
Serhiy Storchaka 2849e0dfb7 Issue #6160: The bbox() method of tkinter.Spinbox now returns a tuple of
integers instead of a string.  Based on patch by Guilherme Polo.
2013-11-03 14:13:34 +02:00
Serhiy Storchaka 9788497e4b Issue #19085: Fixed some Tkinter tests on Windows. 2013-11-02 18:50:42 +02:00
Serhiy Storchaka 007c0477f5 Issue #10734: Fix and re-enable test_ttk test_heading_callback. 2013-11-02 10:54:31 +02:00
Serhiy Storchaka 758c521ea8 Issue #19085: Added basic tests for all tkinter widget options. 2013-11-02 10:41:48 +02:00
Serhiy Storchaka 06ce077e43 Issue #16809: Fixed some tkinter incompabilities with Tcl/Tk 8.6. 2013-08-22 17:51:58 +03:00
Serhiy Storchaka e185341bfa Fix usage of the unittest.skip decorator. 2013-03-19 13:27:05 +02:00
Serhiy Storchaka ae4ef4d2ff Fix usage of the unittest.skip decorator. 2013-03-19 13:25:20 +02:00
Serhiy Storchaka 1e2b7ee3e8 Issue #15861: tkinter now correctly works with lists and tuples containing
strings with whitespaces, backslashes or unbalanced braces.
2013-01-15 17:58:14 +02:00
Serhiy Storchaka b139652366 Issue #15861: tkinter now correctly works with lists and tuples containing
strings with whitespaces, backslashes or unbalanced braces.
2013-01-15 17:56:08 +02:00
Serhiy Storchaka 32e258d877 Merge heads 2013-01-02 10:37:54 +02:00
Serhiy Storchaka 4cf4f3a7c6 Issue #16541: tk_setPalette() now works with keyword arguments.
Added a test for tk_setPalette().
2013-01-02 00:03:58 +02:00
Andrew Svetlov 25a02d403c Issue #15601: fix tkinter test_variables failure with OS X Aqua Tk 8.4 2012-08-09 21:51:21 +03:00
Martin v. Löwis 2b695a4678 Issue #1178863: Separate initialisation from setting when initializing
Tkinter.Variables; harmonize exceptions to ValueError; only delete variables
that have not been deleted; assert that variable names are strings
Patch by Andrew Svetlov.
2012-03-12 17:47:35 -07:00
Georg Brandl 09a7c72cad Merge from 3.1: Issue #13703: add a way to randomize the hash values of basic types (str, bytes, datetime)
in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated.

The environment variable PYTHONHASHSEED and the new command line flag -R control this
behavior.
2012-02-20 21:31:46 +01:00
Georg Brandl 2daf6ae249 Issue #13703: add a way to randomize the hash values of basic types (str, bytes, datetime)
in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated.

The environment variable PYTHONHASHSEED and the new command line flag -R control this
behavior.
2012-02-20 19:54:16 +01:00
Ned Deily f6cbdc22be Issue #8716: Instead of relying on Aqua Tk exceptions to detect lack of
OS X window manager connection in tk tests, use OS X Application Services
API calls instead.
2011-07-05 19:09:37 -07:00
Ned Deily 4143535d86 Issue #8716: Avoid crashes caused by Aqua Tk on OSX when attempting to run
test_tk or test_ttk_guionly under a username that is not currently logged
in to the console windowserver (as may be the case under buildbot or ssh).
2011-07-03 21:56:48 -07:00
Ned Deily 11f00f3b00 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:12:20 -07:00
Ezio Melotti 3b3499ba69 #11565: Merge with 3.1. 2011-03-16 11:35:38 +02:00
Ezio Melotti 13925008dc #11565: Fix several typos. Patch by Piotr Kasprzyk. 2011-03-16 11:05:33 +02:00
Victor Stinner 270fe40831 test_tkinter: use a context manager to close directly the pipe
Patch written by Nadeem Vawda
2011-01-03 14:30:43 +00:00
Georg Brandl cf8a209ab7 Temporarily skip test failing with newer ttk. 2010-12-19 10:17:46 +00:00
Antoine Pitrou f6c6e44eef 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:28:02 +00:00
Antoine Pitrou 07f62a7702 Merged revisions 74473,79974 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r74473 | guilherme.polo | 2009-08-16 16:44:14 +0200 (dim., 16 août 2009) | 13 lines

  Merged revisions 74471-74472 via svnmerge from
  svn+ssh://pythondev/python/trunk

  ........
    r74471 | guilherme.polo | 2009-08-16 11:34:26 -0300 (Sun, 16 Aug 2009) | 1 line

    Issue #6244: Allow detect_tkinter to look for Tcl/Tk 8.6.
  ........
    r74472 | guilherme.polo | 2009-08-16 11:38:57 -0300 (Sun, 16 Aug 2009) | 1 line

    Wrong place for issue #6244.
  ........
................
  r79974 | benjamin.peterson | 2010-04-12 00:04:51 +0200 (lun., 12 avril 2010) | 13 lines

  Merged revisions 79903,79907 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r79903 | martin.v.loewis | 2010-04-08 04:47:40 -0500 (Thu, 08 Apr 2010) | 2 lines

    Issue #8344: Fix test_ttk bug on FreeBSD.
  ........
    r79907 | martin.v.loewis | 2010-04-08 12:38:32 -0500 (Thu, 08 Apr 2010) | 2 lines

    Issue #8204: Fix test_ttk notebook test by forcing focus.
  ........
................
2010-10-09 10:25:55 +00:00
Antoine Pitrou 2f92e783b8 Fix test_tk under OS X with Tk 8.4. Patch by Ned Deily.
This should fix some buildbot failures.
2010-10-05 11:24:49 +00:00
Antoine Pitrou cb15988114 Issue #8445: try to fix some buildbot failures on test_ttk_guionly.
Patch by Guilherme.
2010-09-26 16:36:33 +00:00
Antoine Pitrou b3bfc3d88b Issue #9899: Fix test_tkinter.test_font on various platforms. Patch by
Ned Deily.
2010-09-21 16:26:09 +00:00
Amaury Forgeot d'Arc d61d077bf5 #1730136: Fix comparison between a tk Font object and an object of a different type. 2010-09-17 23:27:09 +00:00
Benjamin Peterson a0820897a8 Merged revisions 79903,79907 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79903 | martin.v.loewis | 2010-04-08 04:47:40 -0500 (Thu, 08 Apr 2010) | 2 lines

  Issue #8344: Fix test_ttk bug on FreeBSD.
........
  r79907 | martin.v.loewis | 2010-04-08 12:38:32 -0500 (Thu, 08 Apr 2010) | 2 lines

  Issue #8204: Fix test_ttk notebook test by forcing focus.
........
2010-04-11 22:04:51 +00:00
Georg Brandl ab91fdef1f Merged revisions 73715 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

........
  r73715 | benjamin.peterson | 2009-07-01 01:06:06 +0200 (Mi, 01 Jul 2009) | 1 line

  convert old fail* assertions to assert*
........
2009-08-13 08:51:18 +00:00
Benjamin Peterson c9c0f201fe convert old fail* assertions to assert* 2009-06-30 23:06:06 +00:00
Guilherme Polo 2a998fabec Merged revisions 73495 via svnmerge from
svn+ssh://pythondev/python/trunk

........
  r73495 | guilherme.polo | 2009-06-21 14:22:50 -0300 (Sun, 21 Jun 2009) | 4 lines

  Issue #5450: Moved tests involving loading tk from Lib/test/test_tcl to
  Lib/lib-tk/test/test_tkinter/test_loadtk in order to follow the behaviour of
  test_ttkguionly.
........
2009-06-21 17:40:07 +00:00
Mark Dickinson 934896dc09 Merged revisions 69846 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69846 | mark.dickinson | 2009-02-21 20:27:01 +0000 (Sat, 21 Feb 2009) | 2 lines

  Issue #5341: Fix a variety of spelling errors.
........
2009-02-21 20:59:32 +00:00
Guilherme Polo a91790a5b0 Merged revisions 69460,69467,69470 via svnmerge from
svn+ssh://pythondev/python/trunk

........
  r69460 | guilherme.polo | 2009-02-09 14:09:17 -0200 (Mon, 09 Feb 2009) | 1 line

  Turned setup_master public
........
  r69467 | guilherme.polo | 2009-02-09 17:21:21 -0200 (Mon, 09 Feb 2009) | 2 lines

  Some tests for Tkinter.Text.search
........
  r69470 | guilherme.polo | 2009-02-09 17:57:04 -0200 (Mon, 09 Feb 2009) | 1 line

  Checking for tk availability before continuing (basically the same that is done in test_ttk_guionly)
........
2009-02-09 20:40:42 +00:00
Guilherme Polo b41bc91549 Fixing changes from the last merge. 2009-02-06 23:04:44 +00:00
Benjamin Peterson 063ff65e2c Merged revisions 69141,69211-69212 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69141 | benjamin.peterson | 2009-01-31 14:01:48 -0600 (Sat, 31 Jan 2009) | 1 line

  fix indentation
........
  r69211 | guilherme.polo | 2009-02-02 14:23:29 -0600 (Mon, 02 Feb 2009) | 1 line

  Restore the previous geometry before leaving the test
........
  r69212 | guilherme.polo | 2009-02-02 14:28:59 -0600 (Mon, 02 Feb 2009) | 1 line

  Moving to importlib
........
2009-02-06 03:01:24 +00:00