diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2018-10-28 19:48:36 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-10-28 19:48:36 +0200 |
| commit | 18d57b4d6262bf96b5ac307bd84837c29ea04083 (patch) | |
| tree | 46fc3aa6e5e3acb2395ed02af3f0833a6a8eb7d7 | |
| parent | 3d4fabb2a424cb04ae446ebe4428090c386f45a5 (diff) | |
| download | cpython-git-18d57b4d6262bf96b5ac307bd84837c29ea04083.tar.gz | |
Fix checking for bugfix Tcl version. (GH-10185)
| -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 0d9a65a5cc..1321c056c2 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) |
