summaryrefslogtreecommitdiffstats
path: root/Lib/tkinter
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2018-10-28 17:48:36 (GMT)
committerGitHub <noreply@github.com>2018-10-28 17:48:36 (GMT)
commit18d57b4d6262bf96b5ac307bd84837c29ea04083 (patch)
tree46fc3aa6e5e3acb2395ed02af3f0833a6a8eb7d7 /Lib/tkinter
parent3d4fabb2a424cb04ae446ebe4428090c386f45a5 (diff)
downloadcpython-18d57b4d6262bf96b5ac307bd84837c29ea04083.zip
cpython-18d57b4d6262bf96b5ac307bd84837c29ea04083.tar.gz
cpython-18d57b4d6262bf96b5ac307bd84837c29ea04083.tar.bz2
Fix checking for bugfix Tcl version. (GH-10185)
Diffstat (limited to 'Lib/tkinter')
-rw-r--r--Lib/tkinter/test/support.py2
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)