File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ deps = coverage
108108
109109{% for env, config in tox_environments|dictsort %}
110110[testenv:{{ env }}]
111- basepython = {{ config.python }}
111+ basepython = {env:TOXPYTHON:{{ config.python } }}
112112{% if config.cover or config.env_vars %}
113113setenv =
114114 {[testenv]setenv}
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ usedevelop = true
114114deps = coverage
115115
116116[testenv:2.6]
117- basepython = python2.6
117+ basepython = {env:TOXPYTHON: python2.6}
118118setenv =
119119 {[testenv]setenv}
120120 WITH_COVERAGE =yes
@@ -128,10 +128,10 @@ deps =
128128 pytest-cover
129129
130130[testenv:2.6-nocover]
131- basepython = python2.6
131+ basepython = {env:TOXPYTHON: python2.6}
132132
133133[testenv:2.7]
134- basepython = python2.7
134+ basepython = {env:TOXPYTHON: python2.7}
135135setenv =
136136 {[testenv]setenv}
137137 WITH_COVERAGE =yes
@@ -146,13 +146,13 @@ deps =
146146 Django
147147
148148[testenv:2.7-nocover]
149- basepython = python2.7
149+ basepython = {env:TOXPYTHON: python2.7}
150150deps =
151151 {[testenv]deps}
152152 Django
153153
154154[testenv:3.3]
155- basepython = python3.3
155+ basepython = {env:TOXPYTHON: python3.3}
156156setenv =
157157 {[testenv]setenv}
158158 WITH_COVERAGE =yes
@@ -167,13 +167,13 @@ deps =
167167 Django
168168
169169[testenv:3.3-nocover]
170- basepython = python3.3
170+ basepython = {env:TOXPYTHON: python3.3}
171171deps =
172172 {[testenv]deps}
173173 Django
174174
175175[testenv:3.4]
176- basepython = python3.4
176+ basepython = {env:TOXPYTHON: python3.4}
177177setenv =
178178 {[testenv]setenv}
179179 WITH_COVERAGE =yes
@@ -188,13 +188,13 @@ deps =
188188 Django
189189
190190[testenv:3.4-nocover]
191- basepython = python3.4
191+ basepython = {env:TOXPYTHON: python3.4}
192192deps =
193193 {[testenv]deps}
194194 Django
195195
196196[testenv:pypy]
197- basepython = pypy
197+ basepython = {env:TOXPYTHON: pypy}
198198setenv =
199199 {[testenv]setenv}
200200 WITH_COVERAGE =yes
@@ -209,7 +209,7 @@ deps =
209209 Django
210210
211211[testenv:pypy-nocover]
212- basepython = pypy
212+ basepython = {env:TOXPYTHON: pypy}
213213deps =
214214 {[testenv]deps}
215215 Django
You can’t perform that action at this time.
0 commit comments