From 633e5aa76ffb23935d87e139736638b131d537d4 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Tue, 26 Jan 2016 15:05:58 -0200 Subject: [PATCH] The typing library only works in Python >= 2.7. --- tox.ini | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 1229d735..8e0656d5 100644 --- a/tox.ini +++ b/tox.ini @@ -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