()
| 201 | |
| 202 | |
| 203 | def test_materializedlayer_cull_preserves_annotations(): |
| 204 | layer = MaterializedLayer( |
| 205 | {"a": 42, "b": 3.14}, |
| 206 | annotations={"foo": "bar"}, |
| 207 | ) |
| 208 | |
| 209 | culled_layer, _ = layer.cull({"a"}, []) |
| 210 | assert len(culled_layer) == 1 |
| 211 | assert culled_layer.annotations == {"foo": "bar"} |
| 212 | |
| 213 | |
| 214 | def test_annotations_leak(): |
nothing calls this directly
no test coverage detected