@@ -189,6 +189,7 @@ def test_array_name_properties_with_group(
189189 assert spam .basename == "spam"
190190
191191
192+ @pytest .mark .filterwarnings ("ignore::zarr.core.dtype.common.UnstableSpecificationWarning" )
192193@pytest .mark .parametrize ("store" , ["memory" ], indirect = True )
193194@pytest .mark .parametrize ("specifiy_fill_value" , [True , False ])
194195@pytest .mark .parametrize (
@@ -199,7 +200,7 @@ def test_array_fill_value_default(
199200) -> None :
200201 """
201202 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
203204 """
204205 shape = (10 ,)
205206 if specifiy_fill_value :
@@ -994,6 +995,7 @@ def test_chunks_and_shards(store: Store) -> None:
994995
995996 @staticmethod
996997 @pytest .mark .parametrize ("dtype" , zdtype_examples )
998+ @pytest .mark .filterwarnings ("ignore::zarr.core.dtype.common.UnstableSpecificationWarning" )
997999 def test_default_fill_value (dtype : ZDType [Any , Any ], store : Store ) -> None :
9981000 """
9991001 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:
10051007 assert a .fill_value == dtype .default_value ()
10061008
10071009 @staticmethod
1010+ @pytest .mark .filterwarnings ("ignore::zarr.core.dtype.common.UnstableSpecificationWarning" )
10081011 @pytest .mark .parametrize ("dtype" , zdtype_examples )
10091012 def test_dtype_forms (dtype : ZDType [Any , Any ], store : Store , zarr_format : ZarrFormat ) -> None :
10101013 """
@@ -1050,6 +1053,7 @@ def test_dtype_forms(dtype: ZDType[Any, Any], store: Store, zarr_format: ZarrFor
10501053 assert a .dtype == c .dtype
10511054
10521055 @staticmethod
1056+ @pytest .mark .filterwarnings ("ignore::zarr.core.dtype.common.UnstableSpecificationWarning" )
10531057 @pytest .mark .parametrize ("dtype" , zdtype_examples )
10541058 def test_dtype_roundtrip (
10551059 dtype : ZDType [Any , Any ], store : Store , zarr_format : ZarrFormat
0 commit comments