Skip to content

Commit 045abfc

Browse files
committed
Print versions
1 parent 6524532 commit 045abfc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/sources/tcltk-86.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
import tkinter
22
import _tkinter
33

4-
lib = tkinter.Tk().getvar('tk_version')
54
header = _tkinter.TK_VERSION
5+
lib = tkinter.Tk().getvar('tk_version')
6+
7+
print('header version=' + header)
8+
print('lib version=' + lib)
69

710
if lib != '8.6' or header != '8.6':
811
exit(1)

0 commit comments

Comments
 (0)