From f0138819ed1b53fe5830c900e04b96dd9a3e1b4b Mon Sep 17 00:00:00 2001 From: code-review-doctor <72647856+code-review-doctor@users.noreply.github.com> Date: Tue, 4 Jan 2022 23:13:52 +0000 Subject: [PATCH] remove paren from data that is fed to 1D DataArray --- xarray/tests/test_dataarray.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xarray/tests/test_dataarray.py b/xarray/tests/test_dataarray.py index b99846ef087..3897530816f 100644 --- a/xarray/tests/test_dataarray.py +++ b/xarray/tests/test_dataarray.py @@ -3071,7 +3071,7 @@ def test_to_and_from_dict(self): DataArray.from_dict(d) # this one is missing some necessary information - d = {"dims": ("t")} + d = {"dims": "t"} with pytest.raises( ValueError, match=r"cannot convert dict without the key 'data'" ):