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

This commit is contained in:
Serhiy Storchaka 2013-11-20 17:43:49 +02:00
parent 75ed890de5
commit 8db1823cf7
1 changed files with 6 additions and 0 deletions

View File

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