summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_tcl.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-11-20 15:43:49 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-11-20 15:43:49 (GMT)
commit8db1823cf7963f5a8557eb840a20248bd18f658a (patch)
tree25af185f2c96f451ee1b16f6bb5d17d32038444f /Lib/test/test_tcl.py
parent75ed890de57cc059592b4bfafa87eff2863b2122 (diff)
downloadcpython-8db1823cf7963f5a8557eb840a20248bd18f658a.zip
cpython-8db1823cf7963f5a8557eb840a20248bd18f658a.tar.gz
cpython-8db1823cf7963f5a8557eb840a20248bd18f658a.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 cf1fcf9..4cf3f28 100644
--- a/Lib/test/test_tcl.py
+++ b/Lib/test/test_tcl.py
@@ -302,6 +302,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)