mirror of
https://github.com/actions/python-versions.git
synced 2025-04-05 14:59:39 +00:00
Print versions
This commit is contained in:
@ -1,8 +1,11 @@
|
||||
import tkinter
|
||||
import _tkinter
|
||||
|
||||
lib = tkinter.Tk().getvar('tk_version')
|
||||
header = _tkinter.TK_VERSION
|
||||
lib = tkinter.Tk().getvar('tk_version')
|
||||
|
||||
print('header version=' + header)
|
||||
print('lib version=' + lib)
|
||||
|
||||
if lib != '8.6' or header != '8.6':
|
||||
exit(1)
|
||||
|
Reference in New Issue
Block a user