Typing after all cannot be used in Python 2.6, therefore remove it again and disable the tests for 2.6 that need it.

This commit is contained in:
Dave Halter
2016-07-03 12:10:19 +02:00
parent 2d2b22ba69
commit 1ba226d4a2
2 changed files with 4 additions and 1 deletions

View File

@@ -47,6 +47,10 @@ b
class Employee: class Employee:
pass pass
# The typing library is not installable for Python 2.6, therefore ignore the
# following tests.
# python > 2.6
from typing import List from typing import List
x = [] # type: List[Employee] x = [] # type: List[Employee]
#? Employee() #? Employee()

View File

@@ -16,7 +16,6 @@ commands =
py.test [] py.test []
[testenv:py26] [testenv:py26]
deps = deps =
typing
unittest2 unittest2
{[testenv]deps} {[testenv]deps}
[testenv:py27] [testenv:py27]