summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2018-10-28 18:58:04 (GMT)
committerGitHub <noreply@github.com>2018-10-28 18:58:04 (GMT)
commit569d12f44847f18fc5b514b24e8ab901b0d96895 (patch)
treecdf8a137deef68446eb476b44f8c7eded4faaa10
parente3685fd5fdd8808acda81bfc12fb9702d4b59a60 (diff)
downloadcpython-569d12f44847f18fc5b514b24e8ab901b0d96895.zip
cpython-569d12f44847f18fc5b514b24e8ab901b0d96895.tar.gz
cpython-569d12f44847f18fc5b514b24e8ab901b0d96895.tar.bz2
Fix yet one error in checking Tcl version. (GH-10189)
-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 1321c05..467a0b6 100644
--- a/Lib/tkinter/test/support.py
+++ b/Lib/tkinter/test/support.py
@@ -64,7 +64,7 @@ def requires_tcl(*version):
def newtest(self):
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