From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sun, 28 Oct 2018 18:57:38 +0000 (-0700) Subject: [3.6] Fix checking for bugfix Tcl version. (GH-10185) (GH-10187) X-Git-Tag: v3.6.8rc1~168 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8d09a059f625381096ab98201c5219453249812f;p=thirdparty%2FPython%2Fcpython.git [3.6] Fix checking for bugfix Tcl version. (GH-10185) (GH-10187) (cherry picked from commit 18d57b4d6262bf96b5ac307bd84837c29ea04083) Co-authored-by: Serhiy Storchaka --- diff --git a/Lib/tkinter/test/support.py b/Lib/tkinter/test/support.py index 0d9a65a5cc83..467a0b66c265 100644 --- a/Lib/tkinter/test/support.py +++ b/Lib/tkinter/test/support.py @@ -62,9 +62,9 @@ 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()))) + '.'.join(map(str, version))) test(self) return newtest return deco