mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Print Tk patchlevel in Tk and Ttk tests in verbose mode (issue19654).
This commit is contained in:
parent
d9a018222f
commit
0b1386d922
3 changed files with 10 additions and 2 deletions
|
@ -491,3 +491,9 @@ def add_standard_options(*source_classes):
|
|||
setattr(cls, methodname, test)
|
||||
return cls
|
||||
return decorator
|
||||
|
||||
def setUpModule():
|
||||
import test.support
|
||||
if test.support.verbose:
|
||||
tcl = tkinter.Tcl()
|
||||
print('patchlevel =', tcl.call('info', 'patchlevel'))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue