mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
Fix checking for bugfix Tcl version. (GH-10185)
This commit is contained in:
parent
3d4fabb2a4
commit
18d57b4d62
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ def requires_tcl(*version):
|
||||||
def deco(test):
|
def deco(test):
|
||||||
@functools.wraps(test)
|
@functools.wraps(test)
|
||||||
def newtest(self):
|
def newtest(self):
|
||||||
if get_tk_patchlevel() < (8, 6, 5):
|
if get_tk_patchlevel() < version:
|
||||||
self.skipTest('requires Tcl version >= ' +
|
self.skipTest('requires Tcl version >= ' +
|
||||||
'.'.join(map(str, get_tk_patchlevel())))
|
'.'.join(map(str, get_tk_patchlevel())))
|
||||||
test(self)
|
test(self)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue