Skip to content

Commit e05edea

Browse files
remove paren from data that is fed to 1D DataArray (#6139)
1 parent 60754fd commit e05edea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xarray/tests/test_dataarray.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3071,7 +3071,7 @@ def test_to_and_from_dict(self):
30713071
DataArray.from_dict(d)
30723072

30733073
# this one is missing some necessary information
3074-
d = {"dims": ("t")}
3074+
d = {"dims": "t"}
30753075
with pytest.raises(
30763076
ValueError, match=r"cannot convert dict without the key 'data'"
30773077
):

0 commit comments

Comments
 (0)