Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suppress warnings about pytest markers #803

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading