[Python-checkins] cpython (3.3): Print Tk patchlevel in test_tcl in verbose mode (issue19654).
serhiy.storchaka
python-checkins at python.org
Wed Nov 20 16:44:58 CET 2013
http://hg.python.org/cpython/rev/74b76a726285
changeset: 87293:74b76a726285
branch: 3.3
parent: 87285:5517027519a4
user: Serhiy Storchaka <storchaka at gmail.com>
date: Wed Nov 20 17:43:49 2013 +0200
summary:
Print Tk patchlevel in test_tcl in verbose mode (issue19654).
files:
Lib/test/test_tcl.py | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/Lib/test/test_tcl.py b/Lib/test/test_tcl.py
--- a/Lib/test/test_tcl.py
+++ b/Lib/test/test_tcl.py
@@ -302,6 +302,12 @@
self.assertRaises(OverflowError, self.interp.call, 'set', '_', value)
+def setUpModule():
+ if support.verbose:
+ tcl = Tcl()
+ print('patchlevel =', tcl.call('info', 'patchlevel'))
+
+
def test_main():
support.run_unittest(TclTest, TkinterTest, BigmemTclTest)
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list