Skip to content

Commit

Permalink
Suppress warnings about pytest markers
Browse files Browse the repository at this point in the history
  • Loading branch information
crusaderky committed Jan 25, 2024
1 parent 03f6bb6 commit b5006e2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,16 @@ dynamic = ["version"]
exclude = ["*tests*"]
namespaces = false

[tool.pytest.ini_options]
# Markers must be a superset of those used in dask/dask due to imported tests
markers = [
"network: Test requires an internet connection",
"slow: Skipped unless --runslow passed",
"gpu: marks tests we want to run on GPUs",
"skip_with_pyarrow_strings: Tests that should be skipped when pyarrow string conversion is turned on",
"xfail_with_pyarrow_strings: Tests that should be xfailed when pyarrow string conversion is turned on",
]

[tool.coverage.run]
omit = [
"*/test_*.py",
Expand Down

0 comments on commit b5006e2

Please sign in to comment.