diff options
-rw-r--r-- | Lib/tkinter/test/support.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/tkinter/test/support.py b/Lib/tkinter/test/support.py index 0d9a65a..1321c05 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) |