mirror of
https://github.com/ansible/awx.git
synced 2026-02-01 17:48:10 -03:30
🧪 Hide false negative warnings by coveragepy (#16021)
They are only surfaced under pytest 8.4, with `pytest-cov` and `pytest-xdist` being both active [[1]]. Or equivalent situations This is a follow-up for #16015 which attempted ignoring the warning on the runtime level in pytest. Instead, the patch tells `coveragepy` not to emit said warnings in the first place. [1]: pytest-dev/pytest-cov#693
This commit is contained in:
committed by
GitHub
parent
db874f5aea
commit
3db2e04efe
@@ -15,9 +15,6 @@ markers =
|
||||
filterwarnings =
|
||||
error
|
||||
|
||||
# Breaks coverage combined with pytest-mp, surfacing as an unhandled error outside of test scope
|
||||
ignore:Module awx was previously imported, but not measured:coverage.exceptions.CoverageWarning
|
||||
|
||||
# FIXME: Upgrade protobuf https://github.com/protocolbuffers/protobuf/issues/15077
|
||||
once:Type google._upb._message.* uses PyType_Spec with a metaclass that has custom tp_new:DeprecationWarning
|
||||
|
||||
|
||||
Reference in New Issue
Block a user