Fix yet one error in checking Tcl version. (GH-10189)

This commit is contained in:
Serhiy Storchaka 2018-10-28 20:58:04 +02:00 committed by GitHub
parent e3685fd5fd
commit 569d12f448
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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