Skip to content

Commit 9fb9d45

Browse files
committed
Update [testenv] section in tox.ini
1 parent c974da3 commit 9fb9d45

File tree

2 files changed

+11
-13
lines changed

2 files changed

+11
-13
lines changed

repo_helper.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,3 @@ extra_sphinx_extensions:
6060
sphinx_conf_epilogue:
6161
- " from sphinx_toolbox.latex import replace_unknown_unicode"
6262
- ' app.connect("build-finished", replace_unknown_unicode)'
63-
64-
tox_unmanaged:
65-
- testenv

tox.ini

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# You may add new sections, but any changes made to the following sections will be lost:
33
# * tox
44
# * envlists
5+
# * testenv
56
# * testenv:py312-dev
67
# * testenv:docs
78
# * testenv:build
@@ -42,6 +43,16 @@ test = py36, py37, py38, py39, py310, py311-dev, pypy36, pypy37, pypy38
4243
qa = mypy, lint
4344
cov = py38, coverage
4445

46+
[testenv]
47+
setenv =
48+
PYTHONDEVMODE=1
49+
PIP_DISABLE_PIP_VERSION_CHECK=1
50+
SETUPTOOLS_USE_DISTUTILS=stdlib
51+
deps = -r{toxinidir}/tests/requirements.txt
52+
commands =
53+
python --version
54+
python -m pytest --cov=seed_intersphinx_mapping -r aR tests/ {posargs}
55+
4556
[testenv:docs]
4657
setenv = SHOW_TODOS = 1
4758
passenv = SPHINX_BUILDER
@@ -184,13 +195,3 @@ package = seed_intersphinx_mapping
184195
[pytest]
185196
addopts = --color yes --durations 25
186197
timeout = 300
187-
188-
[testenv]
189-
setenv =
190-
PYTHONDEVMODE=1
191-
PIP_DISABLE_PIP_VERSION_CHECK=1
192-
PIP_EXTRA_INDEX_URL = https://domdfcoding.github.io/3.11-wheels/wheels/
193-
deps = -r{toxinidir}/tests/requirements.txt
194-
commands =
195-
python --version
196-
python -m pytest --cov=seed_intersphinx_mapping -r aR tests/ {posargs}

0 commit comments

Comments
 (0)