Skip to content

Commit

Permalink
Update to specifically not choose a named testenv which may be automa…
Browse files Browse the repository at this point in the history
…tically setting a base python
  • Loading branch information
teruokun committed Sep 29, 2021
1 parent 56d6379 commit 47057c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_tox_wheel.py
Expand Up @@ -198,17 +198,17 @@ def test_skip_missing_interpreters(testdir_legacy, options, skip_missing):
[tox]
envlist =
py-{{a,b}}
py32
missing_interpreter
skip_missing_interpreters = {}
[testenv]
wheel = true
[testenv:py32]
[testenv:missing_interpreter]
basepython = python3.nothing
""".format(str(skip_missing).lower()))
options[options.index('-e') + 1] = 'py-a,py-b,py32'
options[options.index('-e') + 1] = 'py-a,py-b,missing_interpreter'

result = testdir_legacy.run('tox', '-vv', *options)
if skip_missing:
Expand Down

0 comments on commit 47057c8

Please sign in to comment.