Skip to content

Commit 6572abe

Browse files
committed
Update test_variable.py
1 parent 41d0b0f commit 6572abe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xarray/tests/test_variable.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ def test_copy_with_data_errors(self) -> None:
617617
orig = Variable(("x", "y"), [[1.5, 2.0], [3.1, 4.3]], {"foo": "bar"})
618618
new_data = [2.5, 5.0]
619619
with pytest.raises(ValueError, match=r"must match shape of object"):
620-
orig.copy(data=new_data) # type: ignore[arg-type]
620+
orig.copy(data=new_data)
621621

622622
def test_copy_index_with_data(self) -> None:
623623
orig = IndexVariable("x", np.arange(5))

0 commit comments

Comments
 (0)