Print Tk patchlevel in test_tcl in verbose mode (issue19654).

This commit is contained in:
Serhiy Storchaka 2013-11-20 17:44:28 +02:00
commit 7f48396cb5
1 changed files with 6 additions and 0 deletions

View File

@ -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)