Fix checking for bugfix Tcl version. (GH-10185)
This commit is contained in:
parent
3d4fabb2a4
commit
18d57b4d62
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue