File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -3839,7 +3839,7 @@ def test_to_dataset_coord_value_is_dim(self) -> None:
38393839 match = (
38403840 re .escape ("dimension 'x' would produce the variables ('a',)" )
38413841 + ".*"
3842- + re .escape ("rename(a=...) or assign_coords(x=...)" )
3842+ + re .escape ("DataArray. rename(a=...) or DataArray. assign_coords(x=...)" )
38433843 ),
38443844 ):
38453845 array .to_dataset ("x" )
@@ -3860,7 +3860,9 @@ def test_to_dataset_coord_value_is_dim(self) -> None:
38603860 match = (
38613861 re .escape ("dimension 'x' would produce the variables ('a', 'b')" )
38623862 + ".*"
3863- + re .escape ("rename(a=..., b=...) or assign_coords(x=...)" )
3863+ + re .escape (
3864+ "DataArray.rename(a=..., b=...) or DataArray.assign_coords(x=...)"
3865+ )
38643866 ),
38653867 ):
38663868 array2 .to_dataset ("x" )
You can’t perform that action at this time.
0 commit comments