Skip to content

Commit 116a8f0

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent b87933f commit 116a8f0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

xarray/core/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,7 @@ def equivalent(first: T, second: T) -> bool:
254254
# In numpy 2.0+, this will raise ValueError directly, which we handle in callers
255255
# Can remove this suppression when minimum numpy version >= 2.0
256256
import warnings
257+
257258
with warnings.catch_warnings():
258259
warnings.filterwarnings("ignore", category=DeprecationWarning)
259260
return (first == second) or (pd.isnull(first) and pd.isnull(second)) # type: ignore[call-overload]

0 commit comments

Comments
 (0)