openjdk-23: use OpenJDK 23 as the boot JDK
[oi-userland.git] / components / python / build / patches / 03-no-cov.patch
blob2b8b111adf66e11d99089bc9cde6f8485ca38f4f
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
10 @@ -26,9 +26,7 @@
11 PYTHONWARNDEFAULTENCODING = 1
12 TEST_STATUS_DIR = {envtmpdir}
13 commands =
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}
19 [testenv:fix]
20 description = run static analysis and style checks