Skip to content

Commit b957535

Browse files
authored
Fix numpy typing issue with numpy=2.3.5 (#10935)
1 parent eb01d9c commit b957535

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xarray/compat/npcompat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"numeric": np.number,
5252
}
5353

54-
def isdtype(
54+
def isdtype( # type: ignore[misc]
5555
dtype: np.dtype[Any] | type[Any], kind: DTypeLike | tuple[DTypeLike, ...]
5656
) -> bool:
5757
kinds = kind if isinstance(kind, tuple) else (kind,)

0 commit comments

Comments
 (0)