Skip to content

Commit 46eaf27

Browse files
committed
tox: disable pkgcore's pytest plugin for benchmark target
Since it overlaps with pkgcraft's which is what we want to use.
1 parent 1c92ea2 commit 46eaf27

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

tox.ini

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,11 @@ commands =
4747
[testenv:bench]
4848
skip_sdist = false
4949
skip_install = false
50-
setenv = PY_COLORS = 1
50+
setenv =
51+
# forcibly enable pytest colors
52+
PY_COLORS = 1
53+
# disable pkgcore's pytest plugin
54+
PYTEST_ADDOPTS = -p no:pkgcore
5155
deps =
5256
pytest-benchmark
5357
pkgcore

0 commit comments

Comments
 (0)