|
30 | 30 |
|
31 | 31 | from __future__ import annotations |
32 | 32 |
|
33 | | -import pytest |
34 | 33 | from fsspec.implementations.memory import MemoryFileSystem |
35 | 34 | from upath import UPath |
36 | 35 |
|
@@ -130,9 +129,7 @@ def test_roundtrip_points_only(self, points: SpatialData) -> None: |
130 | 129 | read = SpatialData.read(upath) |
131 | 130 | assert_spatial_data_objects_are_identical(points, read) |
132 | 131 |
|
133 | | - def test_write_read_write_points_preserves_categorical_schema( |
134 | | - self, points: SpatialData |
135 | | - ) -> None: |
| 132 | + def test_write_read_write_points_preserves_categorical_schema(self, points: SpatialData) -> None: |
136 | 133 | """Regression guard for the arrow-filesystem categorical round-trip. |
137 | 134 |
|
138 | 135 | This PR migrated points io to ``to_parquet`` / ``read_parquet`` with |
@@ -231,9 +228,7 @@ def counting_cat_file(path, *args, **kwargs): |
231 | 228 | # With consolidated metadata, we expect very few small-metadata GETs for a |
232 | 229 | # trivial 1-image sdata. Without it, typical count is >> 10. The exact bound is |
233 | 230 | # a documented, loose sanity check, not a micro-benchmark. |
234 | | - assert call_count["n"] < 10, ( |
235 | | - f"expected consolidated metadata to reduce GETs, saw {call_count['n']}" |
236 | | - ) |
| 231 | + assert call_count["n"] < 10, f"expected consolidated metadata to reduce GETs, saw {call_count['n']}" |
237 | 232 |
|
238 | 233 |
|
239 | 234 | # --------------------------------------------------------------------------- |
|
0 commit comments