@@ -189,6 +189,7 @@ def test_array_name_properties_with_group(
189
189
assert spam .basename == "spam"
190
190
191
191
192
+ @pytest .mark .filterwarnings ("ignore::zarr.core.dtype.common.UnstableSpecificationWarning" )
192
193
@pytest .mark .parametrize ("store" , ["memory" ], indirect = True )
193
194
@pytest .mark .parametrize ("specifiy_fill_value" , [True , False ])
194
195
@pytest .mark .parametrize (
@@ -199,7 +200,7 @@ def test_array_fill_value_default(
199
200
) -> None :
200
201
"""
201
202
Test that creating an array with the fill_value parameter set to None, or unspecified,
202
- results in the expected fill_value attribute of the array, i.e. 0 cast to the array's dtype.
203
+ results in the expected fill_value attribute of the array, i.e. the default value of the dtype
203
204
"""
204
205
shape = (10 ,)
205
206
if specifiy_fill_value :
@@ -994,6 +995,7 @@ def test_chunks_and_shards(store: Store) -> None:
994
995
995
996
@staticmethod
996
997
@pytest .mark .parametrize ("dtype" , zdtype_examples )
998
+ @pytest .mark .filterwarnings ("ignore::zarr.core.dtype.common.UnstableSpecificationWarning" )
997
999
def test_default_fill_value (dtype : ZDType [Any , Any ], store : Store ) -> None :
998
1000
"""
999
1001
Test that the fill value of an array is set to the default value for the dtype object
@@ -1005,6 +1007,7 @@ def test_default_fill_value(dtype: ZDType[Any, Any], store: Store) -> None:
1005
1007
assert a .fill_value == dtype .default_value ()
1006
1008
1007
1009
@staticmethod
1010
+ @pytest .mark .filterwarnings ("ignore::zarr.core.dtype.common.UnstableSpecificationWarning" )
1008
1011
@pytest .mark .parametrize ("dtype" , zdtype_examples )
1009
1012
def test_dtype_forms (dtype : ZDType [Any , Any ], store : Store , zarr_format : ZarrFormat ) -> None :
1010
1013
"""
@@ -1050,6 +1053,7 @@ def test_dtype_forms(dtype: ZDType[Any, Any], store: Store, zarr_format: ZarrFor
1050
1053
assert a .dtype == c .dtype
1051
1054
1052
1055
@staticmethod
1056
+ @pytest .mark .filterwarnings ("ignore::zarr.core.dtype.common.UnstableSpecificationWarning" )
1053
1057
@pytest .mark .parametrize ("dtype" , zdtype_examples )
1054
1058
def test_dtype_roundtrip (
1055
1059
dtype : ZDType [Any , Any ], store : Store , zarr_format : ZarrFormat
0 commit comments