mirror of https://github.com/python/cpython
Fix yet one error in checking Tcl version. (GH-10189)
This commit is contained in:
parent
e3685fd5fd
commit
569d12f448
|
@ -64,7 +64,7 @@ def requires_tcl(*version):
|
|||
def newtest(self):
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue