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
Georg Brandl
b2afe855e5
Make use of new str.startswith/endswith semantics.
...
Occurences in email and compiler were ignored due to backwards compat requirements.
2006-06-09 20:43:48 +00:00
Thomas Wouters
a6c67b56b2
Stop test_tcl's testLoadTk from leaking the Tk commands 'loadtk' registers.
2006-04-24 11:37:13 +00:00
Brett Cannon
3684c8771e
Have testLoadTkFailure() skip on cygwin since Tcl/Tk on cygwin renders to the
...
Windows GDI directly and thus does not need a DISPLAY environment variable.
Thanks Jason Tishler.
2004-11-24 03:01:36 +00:00
Tim Peters
27f883687b
Whitespace normalization.
2004-07-08 04:22:35 +00:00
David Ascher
1c5701d36c
Fix test failure for test_tcl on OS/X and Windows if a
...
version of Tcl other than ActiveTcl is installed (ActiveTcl
included TclX, other Tcl distros didn't).
I'm removing the package loading test because it's hard to
come up with a package that is guaranteed to be in any Tcl installation.
Special-casing darwin and windows is ok since that leaves the
only Tk platform (X) which the test was trying to address.
2004-03-26 15:10:25 +00:00
Neal Norwitz
9a8d55e4a1
Cleanup: remove test file after it is used.
2004-02-29 15:37:50 +00:00
Neal Norwitz
63dfece675
Get test to work when run from regrtest (add test_main), remove all CRs (^M)s
2004-02-19 02:37:29 +00:00
David Ascher
e2b4b32025
Implementation of patch 869468
...
Allow the user to create Tkinter.Tcl objects which are
just like Tkinter.Tk objects except that they do not
initialize Tk. This is useful in circumstances where the
script is being run on machines that do not have an X
server running -- in those cases, Tk initialization fails,
even if no window is ever created.
Includes documentation change and tests.
Tested on Linux, Solaris and Windows.
Reviewed by Martin von Loewis.
2004-02-18 05:59:53 +00:00