Author: Diane Trout Description: Skip a few more tests if pyarrow is not available --- a/dask/dataframe/io/tests/test_parquet.py +++ b/dask/dataframe/io/tests/test_parquet.py @@ -4898,6 +4898,7 @@ pd.testing.assert_frame_equal(df.compute(), pdf) +@PYARROW_MARK def test_parquet_botocore_exception(tmpdir): pytest.importorskip("botocore") --- a/dask/tests/test_tokenize.py +++ b/dask/tests/test_tokenize.py @@ -1431,6 +1431,7 @@ @pytest.mark.skipif("not pd") +@pytest.mark.skipif("not pa") def test_tokenize_pandas_arrow_strings(): ser = pd.Series(["a", "b"], dtype="string[pyarrow]") check_tokenize(ser) --- a/dask/dataframe/tests/test_arithmetics_reduction.py +++ b/dask/dataframe/tests/test_arithmetics_reduction.py @@ -1905,7 +1905,7 @@ # _meta is wrongly NA assert_eq(dd_result, pd_result, check_dtype=False) - +@pytest.mark.skipif("not pa") def test_quantile_arrow_dtype(): pdf = pd.DataFrame({"foo": [1, 1, 1, 1, 1, 1]}).convert_dtypes( dtype_backend="pyarrow"