Commit 18d57b4d authored by Serhiy Storchaka's avatar Serhiy Storchaka Committed by GitHub

Fix checking for bugfix Tcl version. (GH-10185)

parent 3d4fabb2
......@@ -62,7 +62,7 @@ def requires_tcl(*version):
def deco(test):
@functools.wraps(test)
def newtest(self):
if get_tk_patchlevel() < (8, 6, 5):
if get_tk_patchlevel() < version:
self.skipTest('requires Tcl version >= ' +
'.'.join(map(str, get_tk_patchlevel())))
test(self)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment