We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3e534e commit 3e02273Copy full SHA for 3e02273
1 file changed
tests/unit/transpose_writers/test_chunking_helpers.py
@@ -133,7 +133,9 @@ def test_broadcast_and_match(self) -> None:
133
assert result == grids
134
135
# Mismatch raises error
136
- with pytest.raises(ValueError):
+ with pytest.raises(
137
+ ValueError, match="chunk_grid list length must be 1 or equal to the number of new variables"
138
+ ):
139
_normalize_chunk_grid([grid, grid], 3)
140
141
@@ -160,5 +162,7 @@ def test_broadcast_and_match(self) -> None:
160
162
assert result[1] is None
161
163
164
165
166
+ ValueError, match="compressor list length must be 1 or equal to the number of new variables"
167
168
_normalize_compressor([comp, comp], 3)
0 commit comments