]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix checking for bugfix Tcl version. (GH-10185)
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 28 Oct 2018 17:48:36 +0000 (19:48 +0200)
committerGitHub <noreply@github.com>
Sun, 28 Oct 2018 17:48:36 +0000 (19:48 +0200)
Lib/tkinter/test/support.py

index 0d9a65a5cc830288e61cb51848b3337363da7bd1..1321c056c2a221969707e3a839340de8e9fc23db 100644 (file)
@@ -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)