From: Serhiy Storchaka Date: Sun, 28 Oct 2018 17:48:36 +0000 (+0200) Subject: Fix checking for bugfix Tcl version. (GH-10185) X-Git-Tag: v3.8.0a1~640 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=18d57b4d6262bf96b5ac307bd84837c29ea04083;p=thirdparty%2FPython%2Fcpython.git Fix checking for bugfix Tcl version. (GH-10185) --- diff --git a/Lib/tkinter/test/support.py b/Lib/tkinter/test/support.py index 0d9a65a5cc83..1321c056c2a2 100644 --- a/Lib/tkinter/test/support.py +++ b/Lib/tkinter/test/support.py @@ -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)