()
| 5272 | |
| 5273 | @pytest.mark.gpu |
| 5274 | def test_pyarrow_conversion_dispatch_cudf(): |
| 5275 | from dask.dataframe.dispatch import ( |
| 5276 | from_pyarrow_table_dispatch, |
| 5277 | to_pyarrow_table_dispatch, |
| 5278 | ) |
| 5279 | |
| 5280 | cudf = pytest.importorskip("cudf") |
| 5281 | |
| 5282 | df1 = cudf.DataFrame(np.random.randn(10, 3), columns=list("abc")) |
| 5283 | df2 = from_pyarrow_table_dispatch(df1, to_pyarrow_table_dispatch(df1)) |
| 5284 | |
| 5285 | assert type(df1) == type(df2) |
| 5286 | assert_eq(df1, df2) |
| 5287 | |
| 5288 | |
| 5289 | def test_enforce_runtime_divisions(): |
nothing calls this directly
no test coverage detected