https://github.com/dask/dask/issues/9972 and https://github.com/dask/dask/issues/10315
(c, lock_param)
| 954 | @pytest.mark.skip_with_pyarrow_strings # AttributeError: 'StringDtype' object has no attribute 'itemsize' |
| 955 | @pytest.mark.parametrize("lock_param", [True, distributed.lock.Lock()]) |
| 956 | def test_write_single_hdf(c, lock_param): |
| 957 | """https://github.com/dask/dask/issues/9972 and |
| 958 | https://github.com/dask/dask/issues/10315 |
| 959 | """ |
| 960 | pytest.importorskip("pandas") |
| 961 | pytest.importorskip("dask.dataframe") |
| 962 | pytest.importorskip("tables") |
| 963 | with tmpfile(extension="hd5") as f: |
| 964 | ddf = dask.datasets.timeseries(start="2000-01-01", end="2000-07-01", freq="12h") |
| 965 | ddf.to_hdf(str(f), key="/ds_*", lock=lock_param) |
| 966 | |
| 967 | |
| 968 | def test_get_scheduler_default_client_config_interleaving(s): |