mirror of
https://github.com/actions/python-versions.git
synced 2025-04-06 15:29:39 +00:00
Print versions
This commit is contained in:
@ -1,8 +1,11 @@
|
|||||||
import tkinter
|
import tkinter
|
||||||
import _tkinter
|
import _tkinter
|
||||||
|
|
||||||
lib = tkinter.Tk().getvar('tk_version')
|
|
||||||
header = _tkinter.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':
|
if lib != '8.6' or header != '8.6':
|
||||||
exit(1)
|
exit(1)
|
||||||
|
Reference in New Issue
Block a user