1 Coverage pollutes the test output with these warnings:
3 CoverageWarning: Module build was previously imported, but not measured (module-not-measured)
5 The warning is probably related to tox-current-env. We need try to solve the
6 warning, but for now we simply disable coverage.
8 --- build-1.2.2.post1/tox.ini.orig
9 +++ build-1.2.2.post1/tox.ini
11 PYTHONWARNDEFAULTENCODING = 1
12 TEST_STATUS_DIR = {envtmpdir}
14 - pytest -ra --cov --cov-config pyproject.toml \
15 - --cov-report=html:{envdir}/htmlcov --cov-context=test \
16 - --cov-report=xml:{toxworkdir}/coverage.{envname}.xml {posargs:-n auto}
17 + pytest -ra {posargs:-n auto}
20 description = run static analysis and style checks