Skip to content

Commit

Permalink
tests: suppress cupy PerformanceWarning
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl committed Apr 29, 2024
1 parent bf7b524 commit 2e2a53f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,11 @@ timeout = 2
log_level = "INFO"
python_files = ["tests/test_*.py"]
testpaths = ["tests"]
addopts = "-v --tb=short -rxs -W=error -n=3 --durations=0 --durations-min=1 --cov=cuvec --cov-report=term-missing --cov-report=xml"
addopts = "-v --tb=short -rxs -n=3 --durations=0 --durations-min=1 --cov=cuvec --cov-report=term-missing --cov-report=xml"
filterwarnings = [
"error",
"ignore:.*one-time only warm-up.*:"
]

[tool.coverage.run]
omit = ["cuvec/cuvec_swig.py", "cuvec/example_swig.py"]

0 comments on commit 2e2a53f

Please sign in to comment.