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