summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_tcl.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-11-20 15:44:28 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-11-20 15:44:28 (GMT)
commit7f48396cb5d19a40f571b0aec4916612f117a13d (patch)
tree4460204904497724167971220903c3a608b4e66a /Lib/test/test_tcl.py
parent680dc21380fc220051f0785ba11b61181d5ab8cf (diff)
parent8db1823cf7963f5a8557eb840a20248bd18f658a (diff)
downloadcpython-7f48396cb5d19a40f571b0aec4916612f117a13d.zip
cpython-7f48396cb5d19a40f571b0aec4916612f117a13d.tar.gz
cpython-7f48396cb5d19a40f571b0aec4916612f117a13d.tar.bz2
Print Tk patchlevel in test_tcl in verbose mode (issue19654).
Diffstat (limited to 'Lib/test/test_tcl.py')
-rw-r--r--Lib/test/test_tcl.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/Lib/test/test_tcl.py b/Lib/test/test_tcl.py
index cf717d8..66c49ff 100644
--- a/Lib/test/test_tcl.py
+++ b/Lib/test/test_tcl.py
@@ -268,6 +268,12 @@ class BigmemTclTest(unittest.TestCase):
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)