[Python-checkins] cpython (merge 3.3 -> default): Print Tk patchlevel in test_tcl in verbose mode (issue19654).
serhiy.storchaka
python-checkins at python.org
Wed Nov 20 16:44:59 CET 2013
http://hg.python.org/cpython/rev/1b58f14f5d60
changeset: 87294:1b58f14f5d60
parent: 87292:b878f206b71f
parent: 87293:74b76a726285
user: Serhiy Storchaka <storchaka at gmail.com>
date: Wed Nov 20 17:44:28 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
@@ -268,6 +268,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