From 1ba226d4a2904bf9db6057eb7a345896d14c168b Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Sun, 3 Jul 2016 12:10:19 +0200 Subject: [PATCH] Typing after all cannot be used in Python 2.6, therefore remove it again and disable the tests for 2.6 that need it. --- test/completion/pep0484_comments.py | 4 ++++ tox.ini | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/test/completion/pep0484_comments.py b/test/completion/pep0484_comments.py index 7707fcc3..050eeb30 100644 --- a/test/completion/pep0484_comments.py +++ b/test/completion/pep0484_comments.py @@ -47,6 +47,10 @@ b class Employee: pass +# The typing library is not installable for Python 2.6, therefore ignore the +# following tests. +# python > 2.6 + from typing import List x = [] # type: List[Employee] #? Employee() diff --git a/tox.ini b/tox.ini index e865492f..dadbb2fe 100644 --- a/tox.ini +++ b/tox.ini @@ -16,7 +16,6 @@ commands = py.test [] [testenv:py26] deps = - typing unittest2 {[testenv]deps} [testenv:py27]