Skip to content

Commit 6b352ad

Browse files
committed
wip: try to disable warnings. works for plain, not metacov
1 parent 767d52b commit 6b352ad

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

pyproject.toml

+2
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ filterwarnings = [
124124

125125
## Pytest warns if it can't collect things that seem to be tests. This should be an error.
126126
"error::pytest.PytestCollectionWarning",
127+
128+
"ignore:.*no-sysmon",
127129
]
128130

129131
# xfail tests that pass should fail the test suite

tests/conftest.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def set_warnings() -> None:
6161
# https://github.com/python/cpython/issues/105539
6262
warnings.filterwarnings("ignore", r"unclosed database", category=ResourceWarning)
6363

64-
warnings.filterwarnings("ignore", r"sysmon")
64+
warnings.filterwarnings("ignore", r".*no-sysmon")
6565

6666

6767
@pytest.fixture(autouse=True)

0 commit comments

Comments
 (0)