Kaydet (Commit) 1cea3843 authored tarafından Miss Islington (bot)'s avatar Miss Islington (bot) Kaydeden (comit) Serhiy Storchaka

[3.7] Fix checking for bugfix Tcl version. (GH-10185) (GH-10186)

(cherry picked from commit 18d57b4d)
Co-authored-by: 's avatarSerhiy Storchaka <storchaka@gmail.com>
üst 8dccb00c
......@@ -62,9 +62,9 @@ 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())))
'.'.join(map(str, version)))
test(self)
return newtest
return deco
......
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