Zachary Ware
4734372aa0
Close #24508 : Backport the 3.5 MSBuild project files.
...
The old project files move to PC/VS9.0 and remain supported.
VS2008 is still required to build 2.7; VS2010 (or later, plus Windows SDK 7.1)
is *also* required to use the new project files.
2015-07-16 00:24:48 -05:00
Serhiy Storchaka
6294d9f5f0
Issue #16840 : Skip bignum tests on minor releases where they are not supported.
2015-04-22 10:51:49 +03: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
4507b8183b
Issue #16840 : Fixed Tcl test on 2.7 with Tcl 8.4.19.
...
In some Tcl versions -2147483648 is wide integer.
2015-04-10 21:12:18 +03:00
Serhiy Storchaka
f29bc70bff
Issue #15133 : _tkinter.tkapp.getboolean() now supports long and Tcl_Obj and
...
always returns bool. tkinter.BooleanVar now validates input values (accepted
bool, int, long, str, unicode, and Tcl_Obj). tkinter.BooleanVar.get() now
always returns bool.
2015-04-04 12:42:25 +03:00
Serhiy Storchaka
61ad42e591
Issue #16840 : Fixed test_tcl for Tcl < 8.5.
2015-04-02 20:06:48 +03:00
Serhiy Storchaka
e8ae0473cd
Issue #21526 : Skip test_booleans on Tcl < 8.5.
2015-04-02 19:57:52 +03:00
Serhiy Storchaka
c77c5b5f03
Issue #16840 : Tkinter now supports 64-bit integers added in Tcl 8.4 and
...
arbitrary precision integers added in Tcl 8.5.
2015-04-02 18:46:30 +03:00
Serhiy Storchaka
91398f85e6
Issue #21526 : Fixed the test_booleans test for wantobjects = 0.
2015-04-02 11:46:07 +03:00
Serhiy Storchaka
cba6b5d045
Issue #21526 : Tkinter now supports new boolean type in Tcl 8.5.
2015-04-02 10:35:57 +03:00
Serhiy Storchaka
17c01785ee
Issue #21951 : Fixed a crash in Tkinter on AIX when called Tcl command with
...
empty string or tuple argument.
On some platforms Tcl memory allocator returns NULL when allocating zero-sized
block of memory.
2014-09-11 10:56:59 +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
ede745a7ed
Clean up test_user_command.
2014-08-18 17:46:34 +03:00
Serhiy Storchaka
77149a1c61
Issue #21951 : Temporary skip crashing test_user_command on AIX.
2014-07-30 10:58:34 +03:00
Serhiy Storchaka
5fc570fc7e
Issue #21881 : Just omit tests for platform-specific NaN representation in test_tcl.
2014-07-07 14:47:17 +03:00
Serhiy Storchaka
668af7e955
Issue #21881 : Be more tolerant in test_tcl to not parsable by float() NaN
...
representations (on mips and m68k platforms).
2014-07-07 13:44:11 +03:00
Serhiy Storchaka
2a0220b18a
Issue #21552 : Fixed possible integer overflow of too long string lengths in
...
the Tkinter module on 64-bit platforms.
2014-05-30 14:23:52 +03:00
Serhiy Storchaka
d11e8b6af7
Add tests for getint, getdouble and getboolean methods of the tkapp object.
2014-05-30 14:07:20 +03:00
Antoine Pitrou
aa73ea0408
Issue #20743 : Fix a reference leak in test_tcl.
2014-02-23 19:39:06 +01:00
Serhiy Storchaka
76249ea4a7
Issue #20532 : Tests which use _testcapi now are marked as CPython only.
2014-02-07 10:06:05 +02:00
Serhiy Storchaka
90ecc00183
Skip expr* tests for large integers for Tcl <8.5.
...
The '**' operator is available only since 8.5 and in any case such large
integers are not supported on Tcl <8.5.
2014-02-03 22:30:22 +02:00
Serhiy Storchaka
ccffb25c54
Issue #20368 : The null character now correctly passed from Tcl to Python (in
...
unicode strings only). Improved error handling in variables-related commands.
2014-02-03 21:23:46 +02:00
Serhiy Storchaka
d2eff237a6
Issue #20368 : Add tests for Tkinter methods exprstring(), exprdouble(),
...
exprlong() and exprboolean().
2014-02-03 20:41:04 +02:00
Serhiy Storchaka
15b67d7d5b
Issue #19320 : Fixed split/splitlist tests in test_tcl for Tcl 8.5.0-8.5.5.
2014-02-02 23:04:06 +02:00
Serhiy Storchaka
eb7ef94166
Third attempt to fix test_user_command on OpenSolaris.
2014-01-23 16:08:35 +02:00
Serhiy Storchaka
dc97667254
Other attempt to fix test_user_command on OpenSolaris.
2014-01-23 14:38:44 +02:00
Serhiy Storchaka
83515ecf42
Try to fix test_user_command on OpenSolaris where floats can have different
...
string representation in Tcl and Python.
2014-01-23 11:03:02 +02:00
Serhiy Storchaka
29d8e856b4
Added test_user_command in test_tcl.
...
It tests the convertion Tcl values to Python values when Tcl calls a command
implemented on Python. Currently all values are passed as strings.
2014-01-23 09:42:46 +02:00
Serhiy Storchaka
e0ed2d75c8
Issue #19936 : Added executable bits or shebang lines to Python scripts which
...
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.
2014-01-16 18:59:17 +02:00
Serhiy Storchaka
5542b15d25
Issue #19320 : test_tcl no longer fails when wantobjects is false.
2013-12-25 17:28:50 +02:00
Serhiy Storchaka
78ecaba482
Print Tk patchlevel in test_tcl in verbose mode (issue19654).
2013-11-20 17:44:38 +02:00
Zachary Ware
57d35c6494
Issue #17883 : Tweak test_tcl testLoadWithUNC to skip the test in the
...
event of a permission error on Windows and to properly report other
skip conditions.
2013-11-03 22:51:25 -06:00
Serhiy Storchaka
9402533cb1
Fixed tests with Tcl/Tk <8.5 ( closes #18964 ).
2013-09-08 20:32:56 +03:00
Serhiy Storchaka
2ac1c1a31d
Issue #16809 : Tkinter's splitlist() and split() methods now accept Tcl_Obj
...
argument.
This is needed for support Tcl/Tk 8.6.
2013-08-22 17:42:45 +03:00
Serhiy Storchaka
4203570d01
Issue #17119 : Fixed integer overflows when processing large Unicode strings
...
and tuples in the tkinter module.
2013-08-21 21:46:12 +03:00
Serhiy Storchaka
fab65428d5
Issue #18101 : Tcl.split() now process Unicode strings nested in a tuple as it
...
do with byte strings.
Added tests for Tcl.split() and tcl.splitline().
2013-07-11 20:32:48 +03:00
Ezio Melotti
794e5573f4
#17833 : add debug output to investigate buildbot failure.
2013-05-07 09:34:49 +03:00
Terry Jan Reedy
b1d6f858d4
Issue17883: Update to assertIn to see why test fails on one buildbot.
2013-05-05 23:22:19 -04:00
Ezio Melotti
0a4a7e13f3
Fix deprecation warning in test_tcl.
2013-02-23 08:19:00 +02:00
Serhiy Storchaka
4a88041444
Issue #17118 : Add new tests for testing Python-Tcl interaction.
2013-02-07 15:37:53 +02:00
Ezio Melotti
2623a37852
Merged revisions 86596 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86596 | ezio.melotti | 2010-11-20 21:04:17 +0200 (Sat, 20 Nov 2010) | 1 line
#9424 : Replace deprecated assert* methods in the Python test suite.
........
2010-11-21 13:34:58 +00:00
Martin v. Löwis
eba67c0eac
Issue #6470 : Drop UNC prefix in FixTk.py
...
Patch by Christop Gohlke and Amaury Forgeot d'Arc.
2010-06-04 19:39:07 +00:00
Guilherme Polo
7f146ab0ca
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:22:50 +00:00
Walter Dörwald
6733bed57e
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.
2009-05-01 17:35:37 +00:00
R. David Murray
597ebab744
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.
2009-03-31 18:32:17 +00:00
Guilherme Polo
8e5e438d21
Eliminated the need to use ttk.__loadtk__ and the problems related it.
2009-02-07 02:20:29 +00:00
Guilherme Polo
3b331dd3ea
Restore Tkinter.Tk._loadtk so this test doesn't fail for problems
...
related to ttk.
2009-02-01 02:56:16 +00:00
Benjamin Peterson
b3619be995
make _tkinter._flatten check the result of PySequence_Size for errors #3880
2009-01-30 02:24:39 +00:00
Georg Brandl
6634bf2919
Tkinter rename reversal: remove tkinter package, adapt imports and docs.
2008-05-20 07:13:37 +00:00
Benjamin Peterson
d21dabc890
change some imports in tests so they will not be skipped in 3.0
2008-05-18 23:07:07 +00:00