(version)
| 335 | |
| 336 | @pytest.mark.pandas |
| 337 | def test_boolean_nulls(version): |
| 338 | # pandas requires upcast to object dtype |
| 339 | path = random_path() |
| 340 | TEST_FILES.append(path) |
| 341 | |
| 342 | num_values = 100 |
| 343 | np.random.seed(0) |
| 344 | |
| 345 | mask = np.random.randint(0, 10, size=num_values) < 3 |
| 346 | values = np.random.randint(0, 10, size=num_values) < 5 |
| 347 | |
| 348 | table = pa.table([pa.array(values, mask=mask)], names=['bools']) |
| 349 | _check_arrow_roundtrip(table) |
| 350 | |
| 351 | df = table.to_pandas() |
| 352 | _check_pandas_roundtrip(df, version=version) |
| 353 | |
| 354 | |
| 355 | def test_buffer_bounds_error(version): |
nothing calls this directly
no test coverage detected