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

Serhiy Storchaka webhook-mailer at python.org
Sun Oct 28 14:57:41 EDT 2018


https://github.com/python/cpython/commit/8d09a059f625381096ab98201c5219453249812f
commit: 8d09a059f625381096ab98201c5219453249812f
branch: 3.6
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: Serhiy Storchaka <storchaka at gmail.com>
date: 2018年10月28日T20:57:38+02:00
summary:
[3.6] Fix checking for bugfix Tcl version. (GH-10185) (GH-10187)
(cherry picked from commit 18d57b4d6262bf96b5ac307bd84837c29ea04083)
Co-authored-by: Serhiy Storchaka <storchaka at gmail.com>
files:
M Lib/tkinter/test/support.py
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


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /