We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8060ec commit 79a26d2Copy full SHA for 79a26d2
tests/test_properties.py
@@ -113,6 +113,13 @@ async def test_roundtrip_array_metadata(
113
assert actual == expected
114
115
116
+@given(store=stores, meta=array_metadata()) # type: ignore[misc]
117
+def test_array_metadata_meets_spec(store: Store, meta: ArrayV2Metadata | ArrayV3Metadata) -> None:
118
+ asdict = meta.to_dict()
119
+ if isinstance(meta, ArrayV2Metadata):
120
+ assert asdict["filters"] != ()
121
+
122
123
# @st.composite
124
# def advanced_indices(draw, *, shape):
125
# basic_idxr = draw(
0 commit comments