diff options
author | Benjamin Peterson <benjamin@python.org> | 2014-01-05 10:21:23 -0600 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2014-01-05 10:21:23 -0600 |
commit | 64e8414fac89052d395fa728c8227ef974d21e21 (patch) | |
tree | 2016e5be6cc4e7ac6bcf049c2f00599be2163984 /test_six.py | |
parent | 196bfb900a966f983da9395241bd17874d11b4fa (diff) | |
download | six-git-64e8414fac89052d395fa728c8227ef974d21e21.tar.gz |
correct version check (fixes #52)
Diffstat (limited to 'test_six.py')
-rw-r--r-- | test_six.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test_six.py b/test_six.py index d4d6f9b..45649b2 100644 --- a/test_six.py +++ b/test_six.py @@ -108,7 +108,7 @@ def test_move_items(item_name): if item_name.startswith("tkinter"): if not have_tkinter: py.test.skip("requires tkinter") - if item_name == "tkinter_ttk" and sys.version_info <= (2, 6): + if item_name == "tkinter_ttk" and sys.version_info[:2] <= (2, 6): py.test.skip("ttk only available on 2.7+") if item_name.startswith("dbm_gnu") and not have_gdbm: py.test.skip("requires gdbm") |