commit | 78ecaba4820061f1c9bef70a348c34d354c27824 | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Wed Nov 20 17:44:38 2013 +0200 |
committer | Serhiy Storchaka <storchaka@gmail.com> | Wed Nov 20 17:44:38 2013 +0200 |
tree | 0e1cd36935b0ed779ed0dab23eb48bf857c2cb99 | |
parent | eccf9c2e2f0507bd4893b087c83d197b32c62b43 [diff] [blame] |
Print Tk patchlevel in test_tcl in verbose mode (issue19654).
diff --git a/Lib/test/test_tcl.py b/Lib/test/test_tcl.py index 0ccede1..a44a0a1 100644 --- a/Lib/test/test_tcl.py +++ b/Lib/test/test_tcl.py
@@ -282,6 +282,12 @@ self.assertRaises(OverflowError, self.interp.call, 'set', '_', value) +def setUpModule(): + if test_support.verbose: + tcl = Tcl() + print 'patchlevel =', tcl.call('info', 'patchlevel') + + def test_main(): test_support.run_unittest(TclTest, TkinterTest, BigmemTclTest)