()
| 175 | |
| 176 | |
| 177 | def test_unknown_divisions_error(): |
| 178 | df = pd.DataFrame({"x": [1, 2, 3]}) |
| 179 | ddf = dd.from_pandas(df, npartitions=2, sort=False).clear_divisions() |
| 180 | try: |
| 181 | ddf.x.resample("1m").mean() |
| 182 | assert False |
| 183 | except ValueError as e: |
| 184 | assert "divisions" in str(e) |
| 185 | |
| 186 | |
| 187 | def test_resample_index_name(): |
nothing calls this directly
no test coverage detected