[Python-checkins] Fix checking for bugfix Tcl version. (GH-10185)

Serhiy Storchaka webhook-mailer at python.org
Sun Oct 28 13:48:39 EDT 2018


https://github.com/python/cpython/commit/18d57b4d6262bf96b5ac307bd84837c29ea04083
commit: 18d57b4d6262bf96b5ac307bd84837c29ea04083
branch: master
author: Serhiy Storchaka <storchaka at gmail.com>
committer: GitHub <noreply at github.com>
date: 2018-10-28T19:48:36+02:00
summary:

Fix checking for bugfix Tcl version. (GH-10185)

files:
M Lib/tkinter/test/support.py

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)



More information about the Python-checkins mailing list