Skip to content

Commit 41f359f

Browse files
authored
tests: faster on 3.12+ and reduce warnings (#872)
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
1 parent 6972464 commit 41f359f

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

Diff for: pyproject.toml

+4
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,10 @@ source = [
9595
"build",
9696
"tests",
9797
]
98+
disable_warnings = [
99+
"module-not-measured", # Triggers in multithreaded context on build
100+
"no-sysmon",
101+
]
98102

99103
[tool.coverage.report]
100104
exclude_also = [

Diff for: tox.ini

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ pass_env =
2323
PYTEST_*
2424
TERM
2525
set_env =
26+
COVERAGE_CORE = sysmon
2627
COVERAGE_FILE = {toxworkdir}/.coverage.{envname}
2728
PYPY3323BUG = 1
2829
PYTHONWARNDEFAULTENCODING = 1

0 commit comments

Comments
 (0)