Print versions

This commit is contained in:
Sergey Dolin
2022-06-17 12:53:40 +02:00
parent 6524532238
commit 045abfcc36

View File

@ -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)