summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_tcl.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #21951: Fixed a crash in Tkinter on AIX when called Tcl command withSerhiy Storchaka2014-09-111-1/+2
| | | | | | | empty string or tuple argument. On some platforms Tcl memory allocator returns NULL when allocating zero-sized block of memory.
* Issue #22226: Added private function _splitdict() in the Tkinter module.Serhiy Storchaka2014-09-061-1/+36
| | | | | First letter no longer is stripped from the "status" key in the result of Treeview.heading().
* Clean up test_user_command.Serhiy Storchaka2014-08-181-11/+14
|
* Issue #21580: Now Tkinter correctly handles bytes arguments passed to Tk.Serhiy Storchaka2014-07-301-9/+15
| | | | In particular this allows to initialize images from binary data.
* Issue #21951: Temporary skip crashing test_user_command on AIX.Serhiy Storchaka2014-07-301-0/+1
|
* Issue #21881: Just omit tests for platform-specific NaN representation in ↵Serhiy Storchaka2014-07-071-6/+2
| | | | test_tcl.
* Issue #21881: Be more tolerant in test_tcl to not parsable by float() NaNSerhiy Storchaka2014-07-071-6/+6
| | | | representations (on mips and m68k platforms).
* Test correct getXXX methods in Tkinter bigmem tests.Serhiy Storchaka2014-05-301-3/+3
| | | | Tk.getint is just int, true Tk wrapper is available as Tk.tk.getint.
* Issue #21552: Fixed possible integer overflow of too long string lengths inSerhiy Storchaka2014-05-301-1/+26
| | | | the tkinter module on 64-bit platforms.
* Add tests for getint, getdouble and getboolean methods of the tkapp object.Serhiy Storchaka2014-05-301-0/+44
|
* Issue #20743: Fix a reference leak in test_tcl.Antoine Pitrou2014-02-231-0/+1
|\
| * Issue #20743: Fix a reference leak in test_tcl.Antoine Pitrou2014-02-231-0/+1
| |
* | Issue #20532: Tests which use _testcapi now are marked as CPython only.Serhiy Storchaka2014-02-071-4/+8
|\ \ | |/
| * Issue #20532: Tests which use _testcapi now are marked as CPython only.Serhiy Storchaka2014-02-071-4/+8
| |
* | Skip expr* tests for large integers for Tcl <8.5.Serhiy Storchaka2014-02-031-4/+8
|\ \ | |/ | | | | | | The '**' operator is available only since 8.5 and in any case such large integers are not supported on Tcl <8.5.
| * Skip expr* tests for large integers for Tcl <8.5.Serhiy Storchaka2014-02-031-4/+8
| | | | | | | | | | The '**' operator is available only since 8.5 and in any case such large integers are not supported on Tcl <8.5.
* | Issue #20368: The null character now correctly passed from Tcl to Python.Serhiy Storchaka2014-02-031-10/+40
|\ \ | |/ | | | | Improved error handling in variables-related commands.
| * Issue #20368: The null character now correctly passed from Tcl to Python.Serhiy Storchaka2014-02-031-10/+40
| | | | | | | | Improved error handling in variables-related commands.
* | Issue #20368: Add tests for Tkinter methods exprstring(), exprdouble(),Serhiy Storchaka2014-02-031-0/+135
|\ \ | |/ | | | | exprlong() and exprboolean().
| * Issue #20368: Add tests for Tkinter methods exprstring(), exprdouble(),Serhiy Storchaka2014-02-031-0/+135
| | | | | | | | exprlong() and exprboolean().
* | Issue #19320: Fixed split/splitlist tests in test_tcl for Tcl 8.5.0-8.5.5.Serhiy Storchaka2014-02-021-5/+28
|\ \ | |/
| * Issue #19320: Fixed split/splitlist tests in test_tcl for Tcl 8.5.0-8.5.5.Serhiy Storchaka2014-02-021-5/+28
| |
* | Fixed test_user_command on OpenSolaris where floats can have different stringSerhiy Storchaka2014-01-231-9/+20
|\ \ | |/ | | | | representation in Tcl and Python.
| * Fixed test_user_command on OpenSolaris where floats can have different stringSerhiy Storchaka2014-01-231-9/+20
| | | | | | | | representation in Tcl and Python.
* | Added test_user_command in test_tcl.Serhiy Storchaka2014-01-231-0/+28
|\ \ | |/ | | | | | | It tests the convertion Tcl values to Python values when Tcl calls a command implemented on Python. Currently all values are passed as strings.
| * Added test_user_command in test_tcl.Serhiy Storchaka2014-01-231-0/+28
| | | | | | | | | | It tests the convertion Tcl values to Python values when Tcl calls a command implemented on Python. Currently all values are passed as strings.
* | Issue #19936: Added executable bits or shebang lines to Python scripts whichSerhiy Storchaka2014-01-161-2/+0
|\ \ | |/ | | | | | | | | | | requires them. Disable executable bits and shebang lines in test and benchmark files in order to prevent using a random system python, and in source files of modules which don't provide command line interface. Fixed shebang lines in the unittestgui and checkpip scripts.
| * Issue #19936: Added executable bits or shebang lines to Python scripts whichSerhiy Storchaka2014-01-161-2/+0
| | | | | | | | | | | | | | requires them. Disable executable bits and shebang lines in test and benchmark files in order to prevent using a random system python, and in source files of modules which don't provide command line interface. Fixed shebang line to use python3 executable in the unittestgui script.
* | Issue #19320: test_tcl no longer fails when wantobjects is false.Serhiy Storchaka2013-12-251-13/+29
|\ \ | |/
| * Issue #19320: test_tcl no longer fails when wantobjects is false.Serhiy Storchaka2013-12-251-13/+29
| |
* | Print Tk patchlevel in test_tcl in verbose mode (issue19654).Serhiy Storchaka2013-11-201-0/+6
|\ \ | |/
| * Print Tk patchlevel in test_tcl in verbose mode (issue19654).Serhiy Storchaka2013-11-201-0/+6
| |
| * Fixed merge test for Tcl/Tk <8.5 (issue #18964).Serhiy Storchaka2013-10-271-2/+5
| |
| * Issue #19028: Fixed tkinter.Tkapp.merge() for non-string arguments.Serhiy Storchaka2013-09-231-0/+31
|/
* Fixed tests with Tcl/Tk <8.5 (closes #18964).Serhiy Storchaka2013-09-081-4/+18
|
* Issue #16809: Tkinter's splitlist() and split() methods now accept Tcl_ObjSerhiy Storchaka2013-08-221-0/+4
| | | | | | argument. This is needed for support Tcl/Tk 8.6.
* Issue #17119: Fixed integer overflows when processing large strings and tuplesSerhiy Storchaka2013-08-211-1/+15
| | | | in the tkinter module.
* Issue #18101: Tcl.split() now process strings nested in a tuple as itSerhiy Storchaka2013-07-111-0/+60
| | | | | | do with byte strings. Added tests for Tcl.split() and Tcl.splitline().
* Issue # 10652: make tcl/tk tests run after __all__ test, patch by Zachary Ware.Terry Jan Reedy2013-03-161-0/+3
|
* Issue #17118: Add new tests for testing Python-Tcl interaction.Serhiy Storchaka2013-02-071-0/+20
|
* Skip estLoadWithUNC when UNC is not available.Hirokazu Yamamoto2010-09-231-5/+5
|
* In Python3000, Tkinter was renamed to tkinter. And print is now function.Hirokazu Yamamoto2010-09-181-2/+2
|
* Fix bad merge: test_support -> support.Georg Brandl2010-07-311-1/+1
|
* Merged revisions 81701 via svnmerge fromMartin v. Löwis2010-06-041-0/+25
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81701 | martin.v.loewis | 2010-06-04 21:39:07 +0200 (Fr, 04 Jun 2010) | 2 lines Issue #6470: Drop UNC prefix in FixTk.py Patch by Christop Gohlke and Amaury Forgeot d'Arc. ........
* convert shebang lines: python -> python3Benjamin Peterson2010-03-111-1/+1
|
* Merged revisions 73495 via svnmerge fromGuilherme Polo2009-06-211-31/+0
| | | | | | | | | | | | 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. ........
* Merged revisions 72167 via svnmerge fromWalter Dörwald2009-05-011-14/+11
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72167 | walter.doerwald | 2009-05-01 19:35:37 +0200 (Fr, 01 Mai 2009) | 5 lines Make test.test_support.EnvironmentVarGuard behave like a dictionary. All changes are mirrored to the underlying os.environ dict, but rolled back on exit from the with block. ........
* Merged revisions 70734,70775,70856,70874,70876-70877 via svnmergeR. David Murray2009-03-311-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ........ r70734 | r.david.murray | 2009-03-30 15:04:00 -0400 (Mon, 30 Mar 2009) | 7 lines Add import_function method to test.test_support, and modify a number of tests that expect to be skipped if imports fail or functions don't exist to use import_function and import_module. The ultimate goal is to change regrtest to not skip automatically on ImportError. Checking in now to make sure the buldbots don't show any errors on platforms I can't direct test on. ........ r70775 | r.david.murray | 2009-03-30 19:05:48 -0400 (Mon, 30 Mar 2009) | 4 lines Change more tests to use import_module for the modules that should cause tests to be skipped. Also rename import_function to the more descriptive get_attribute and add a docstring. ........ r70856 | r.david.murray | 2009-03-31 14:32:17 -0400 (Tue, 31 Mar 2009) | 7 lines A few more test skips via import_module, and change import_module to return the error message produced by importlib, so that if an import in the package whose import is being wrapped is what failed the skip message will contain the name of that module instead of the name of the wrapped module. Also fixed formatting of some previous comments. ........ r70874 | r.david.murray | 2009-03-31 15:33:15 -0400 (Tue, 31 Mar 2009) | 5 lines Improve test_support.import_module docstring, remove deprecated flag from get_attribute since it isn't likely to do anything useful. ........ r70876 | r.david.murray | 2009-03-31 15:49:15 -0400 (Tue, 31 Mar 2009) | 4 lines Remove the regrtest check that turns any ImportError into a skipped test. Hopefully all modules whose imports legitimately result in a skipped test have been properly wrapped by the previous commits. ........ r70877 | r.david.murray | 2009-03-31 15:57:24 -0400 (Tue, 31 Mar 2009) | 2 lines Add NEWS entry for regrtest change. ........
* Merged revisions 69404 via svnmerge fromGuilherme Polo2009-02-071-7/+1
| | | | | | | | | | svn+ssh://pythondev/python/trunk ........ r69404 | guilherme.polo | 2009-02-07 00:20:29 -0200 (Sat, 07 Feb 2009) | 2 lines Eliminated the need to use ttk.__loadtk__ and the problems related it. ........
* Fixing changes from the last merge.Guilherme Polo2009-02-061-1/+1
|