From b5006e284c88c149db4abe5d2ac7e93386b7d8b2 Mon Sep 17 00:00:00 2001 From: crusaderky Date: Thu, 25 Jan 2024 00:57:08 +0000 Subject: [PATCH] Suppress warnings about pytest markers --- pyproject.toml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 5f06dcc5e..c544e0888 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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",