Skip to content

Commit 8dc009e

Browse files
committed
handle required attributes in pydantic-zarr
1 parent 35ad365 commit 8dc009e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_data_api/test_geozarr/test_common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def test_datarraylike(obj: DataArray_V2 | DataArray_V3) -> None:
4040
assert isinstance(obj, DataArrayLike)
4141

4242

43-
@pytest.mark.parametrize("obj", [GroupSpec_V2(), GroupSpec_V3()])
43+
@pytest.mark.parametrize("obj", [GroupSpec_V2(attributes={}), GroupSpec_V3(attributes={})])
4444
def test_grouplike(obj: GroupSpec_V3[Any, Any] | GroupSpec_V2[Any, Any]) -> None:
4545
"""
4646
Test that the GroupLike protocol works correctly

0 commit comments

Comments
 (0)