The typing library only works in Python >= 2.7.

This commit is contained in:
Dave Halter
2016-01-26 15:05:58 -02:00
parent f9a64fd637
commit 633e5aa76f

15
tox.ini
View File

@@ -8,8 +8,6 @@ deps =
docopt
# coloroma for colored debug output
colorama
# for testing the typing module
typing
setenv =
# https://github.com/tomchristie/django-rest-framework/issues/1957
# tox corrupts __pycache__, solution from here:
@@ -20,6 +18,19 @@ commands =
deps =
unittest2
{[testenv]deps}
[testenv:py27]
deps =
# for testing the typing module
typing
[testenv:py32]
deps =
typing
[testenv:py33]
deps =
typing
[testenv:py34]
deps =
typing
[testenv:cov]
deps =
coverage