summaryrefslogtreecommitdiff
path: root/Lib/tkinter/test/support.py
Commit message (Collapse)AuthorAgeFilesLines
* gh-54781: Move Lib/tkinter/test/test_ttk/ to Lib/test/test_ttk/ (#94070)Victor Stinner2022-06-221-135/+0
| | | | | | | | | | * Move Lib/tkinter/test/test_tkinter/ to Lib/test/test_tkinter/. * Move Lib/tkinter/test/test_ttk/ to Lib/test/test_ttk/. * Add Lib/test/test_ttk/__init__.py based on test_ttk_guionly.py. * Add Lib/test/test_tkinter/__init__.py * Remove old Lib/test/test_tk.py. * Remove old Lib/test/test_ttk_guionly.py. * Add __main__ sub-modules. * Update imports and update references to rename files.
* gh-84623: Remove unused imports (#94132)Victor Stinner2022-06-221-1/+0
|
* gh-91827: Add method info_pathlevel() in tkinter (GH-91829)Serhiy Storchaka2022-05-061-9/+1
|
* bpo-42630: Improve error reporting in Tkinter for absent default root (GH-23781)Serhiy Storchaka2020-12-191-0/+27
| | | | | | | | | | | * 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.
* Fix yet one error in checking Tcl version. (GH-10189)Serhiy Storchaka2018-10-281-1/+1
|
* Fix checking for bugfix Tcl version. (GH-10185)Serhiy Storchaka2018-10-281-1/+1
|
* bpo-34189: Fix checking for bugfix Tcl version. (GH-8397)Serhiy Storchaka2018-07-221-1/+13
|
* Issue #25263: Fixed the tkinter.test.test_tkinter.test_font.FontTest testSerhiy Storchaka2015-11-101-1/+1
| | | | | | | 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.
* Fixed full Tcl version parsing in tests for pre-final versions.Serhiy Storchaka2015-04-221-10/+10
|
* 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 #22236: Tkinter tests now don't reuse default root window. New rootSerhiy Storchaka2014-08-241-19/+32
| | | | | | | | | 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 #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).
* Fix Tkinter tests on Tk 8.5 with patchlevel < 8.5.11 (issue #19085).Serhiy Storchaka2013-11-091-0/+15
|
* Issue #19085: Added basic tests for all tkinter widget options.Serhiy Storchaka2013-11-021-0/+39
|
* Issue #8716: Instead of relying on Aqua Tk exceptions to detect lack ofNed Deily2011-07-051-25/+35
| | | | | OS X window manager connection in tk tests, use OS X Application Services API calls instead.
* Issue #8716: Avoid crashes caused by Aqua Tk on OSX when attempting to runNed Deily2011-07-031-0/+36
| | | | | 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).
* Recorded merge of revisions 69195 via svnmerge fromGuilherme Polo2009-02-021-0/+8
| | | | | | | | | | | svn+ssh://pythondev/python/trunk ........ r69195 | guilherme.polo | 2009-02-01 22:38:54 -0200 (Sun, 01 Feb 2009) | 3 lines Use a single Tcl interpreter through all these tests, this may help some failing buildbots. ........
* Merged revisions 69050 via svnmerge fromGuilherme Polo2009-01-281-0/+25
svn+ssh://pythondev/python/trunk ........ r69050 | guilherme.polo | 2009-01-28 11:09:03 -0200 (Wed, 28 Jan 2009) | 2 lines Added the ttk module. See issue #2983: Ttk support for Tkinter. ........