diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2013-11-20 15:44:28 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-11-20 15:44:28 (GMT) |
commit | 7f48396cb5d19a40f571b0aec4916612f117a13d (patch) | |
tree | 4460204904497724167971220903c3a608b4e66a /Lib/test/test_tcl.py | |
parent | 680dc21380fc220051f0785ba11b61181d5ab8cf (diff) | |
parent | 8db1823cf7963f5a8557eb840a20248bd18f658a (diff) | |
download | cpython-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.py | 6 |
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) |