| 1 |
Author: Diane Trout <[email protected]> |
| 2 |
Description: Skip a few more tests if pyarrow is not available |
| 3 |
--- a/dask/dataframe/io/tests/test_parquet.py |
| 4 |
+++ b/dask/dataframe/io/tests/test_parquet.py |
| 5 |
@@ -4898,6 +4898,7 @@ |
| 6 |
pd.testing.assert_frame_equal(df.compute(), pdf) |
| 7 |
|
| 8 |
|
| 9 |
+@PYARROW_MARK |
| 10 |
def test_parquet_botocore_exception(tmpdir): |
| 11 |
pytest.importorskip("botocore") |
| 12 |
|
| 13 |
--- a/dask/tests/test_tokenize.py |
| 14 |
+++ b/dask/tests/test_tokenize.py |
| 15 |
@@ -1431,6 +1431,7 @@ |
| 16 |
|
| 17 |
|
| 18 |
@pytest.mark.skipif("not pd") |
| 19 |
[email protected]("not pa") |
| 20 |
def test_tokenize_pandas_arrow_strings(): |
| 21 |
ser = pd.Series(["a", "b"], dtype="string[pyarrow]") |
| 22 |
check_tokenize(ser) |
| 23 |
--- a/dask/dataframe/tests/test_arithmetics_reduction.py |
| 24 |
+++ b/dask/dataframe/tests/test_arithmetics_reduction.py |
| 25 |
@@ -1905,7 +1905,7 @@ |
| 26 |
# _meta is wrongly NA |
| 27 |
assert_eq(dd_result, pd_result, check_dtype=False) |
| 28 |
|
| 29 |
- |
| 30 |
[email protected]("not pa") |
| 31 |
def test_quantile_arrow_dtype(): |
| 32 |
pdf = pd.DataFrame({"foo": [1, 1, 1, 1, 1, 1]}).convert_dtypes( |
| 33 |
dtype_backend="pyarrow" |