mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Print Tk patchlevel in test_tcl in verbose mode (issue19654).
This commit is contained in:
parent
75ed890de5
commit
8db1823cf7
1 changed files with 6 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue