File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
tests/test_dtype/test_npy Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ def test_unstable_dtype_warning(
150150 Test that we get a warning when serializing a dtype without a zarr v3 spec to json
151151 when zarr_format is 3
152152 """
153- with pytest .raises (UnstableSpecificationWarning ):
153+ with pytest .warns (UnstableSpecificationWarning ):
154154 zdtype .to_json (zarr_format = 3 )
155155
156156
Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ def test_unstable_dtype_warning(zdtype: FixedLengthUTF32 | VariableLengthUTF8) -
131131 Test that we get a warning when serializing a dtype without a zarr v3 spec to json
132132 when zarr_format is 3
133133 """
134- with pytest .raises (UnstableSpecificationWarning ):
134+ with pytest .warns (UnstableSpecificationWarning ):
135135 zdtype .to_json (zarr_format = 3 )
136136
137137
You can’t perform that action at this time.
0 commit comments