()
| 2230 | |
| 2231 | |
| 2232 | def test_repartition_freq_errors(): |
| 2233 | df = pd.DataFrame({"x": [1, 2, 3]}) |
| 2234 | ddf = dd.from_pandas(df, npartitions=1) |
| 2235 | with pytest.raises(TypeError) as info: |
| 2236 | ddf.repartition(freq="1s") |
| 2237 | |
| 2238 | assert "only" in str(info.value) |
| 2239 | assert "timeseries" in str(info.value) |
| 2240 | |
| 2241 | |
| 2242 | def test_repartition_freq_month(): |
nothing calls this directly
no test coverage detected