(db)
| 269 | |
| 270 | |
| 271 | def test_divisions(db): |
| 272 | data = read_sql_table( |
| 273 | "test", db, columns=["name"], divisions=[0, 2, 4], index_col="number" |
| 274 | ) |
| 275 | assert data.divisions == (0, 2, 4) |
| 276 | assert data.index.max().compute() == 4 |
| 277 | assert_eq(data, df[["name"]][df.index <= 4]) |
| 278 | |
| 279 | |
| 280 | @pytest.mark.xfail(PANDAS_GE_300, reason="memory doesn't match") |
nothing calls this directly
no test coverage detected