Skip to content

Commit

Permalink
silence warning caused by pydata#8491
Browse files Browse the repository at this point in the history
  • Loading branch information
TomNicholas committed Dec 1, 2023
1 parent 72eb62d commit e911155
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xarray/tests/test_variable.py
Original file line number Diff line number Diff line change
Expand Up @@ -1705,6 +1705,7 @@ def test_broadcasting_math(self):
v * w[0], Variable(["a", "b", "c", "d"], np.einsum("ab,cd->abcd", x, y[0]))
)

@pytest.mark.filterwarnings("ignore:Duplicate dimension names")
def test_broadcasting_failures(self):
a = Variable(["x"], np.arange(10))
b = Variable(["x"], np.arange(5))
Expand Down

0 comments on commit e911155

Please sign in to comment.