From 8d09a059f625381096ab98201c5219453249812f Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Sun, 28 Oct 2018 11:57:38 -0700 Subject: [3.6] Fix checking for bugfix Tcl version. (GH-10185) (GH-10187) (cherry picked from commit 18d57b4d6262bf96b5ac307bd84837c29ea04083) Co-authored-by: Serhiy Storchaka --- Lib/tkinter/test/support.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/tkinter/test/support.py b/Lib/tkinter/test/support.py index 0d9a65a..467a0b6 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 -- cgit v0.12