Skip to content

Commit

Permalink
Ignore mypy error due to missing functools.partial.__name__
Browse files Browse the repository at this point in the history
  • Loading branch information
ignamv committed May 5, 2024
1 parent 555a626 commit eb66fd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xarray/testing/assertions.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ def assert_allclose(
equiv = functools.partial(
_data_allclose_or_equiv, rtol=rtol, atol=atol, decode_bytes=decode_bytes
)
equiv.__name__ = "allclose"
equiv.__name__ = "allclose" # type: ignore[attr-defined]

def compat_variable(a, b):
a = getattr(a, "variable", a)
Expand Down

0 comments on commit eb66fd2

Please sign in to comment.