Skip to content

Commit ce4aa18

Browse files
committed
remove redundant template from array indexing exception
1 parent 2936179 commit ce4aa18

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

src/zarr/errors.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -134,16 +134,10 @@ class ZarrRuntimeWarning(RuntimeWarning):
134134
"""
135135

136136

137-
class VindexInvalidSelectionError(IndexError):
138-
_msg = (
139-
"unsupported selection type for vectorized indexing; only "
140-
"coordinate selection (tuple of integer arrays) and mask selection "
141-
"(single Boolean array) are supported; got {!r}"
142-
)
137+
class VindexInvalidSelectionError(IndexError): ...
143138

144139

145-
class NegativeStepError(IndexError):
146-
_msg = "only slices with step >= 1 are supported"
140+
class NegativeStepError(IndexError): ...
147141

148142

149143
class BoundsCheckError(IndexError): ...

0 commit comments

Comments
 (0)