Print Tk patchlevel in test_tcl in verbose mode (issue19654).
This commit is contained in:
commit
7f48396cb5
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue