Skip to content

Commit

Permalink
Add missing space in exception message (pydata#6590)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikefarmer01 authored May 11, 2022
1 parent 3920c48 commit 770e878
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xarray/core/groupby.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ def __init__(
if not hashable(group):
raise TypeError(
"`group` must be an xarray.DataArray or the "
"name of an xarray variable or dimension."
"name of an xarray variable or dimension. "
f"Received {group!r} instead."
)
group = obj[group]
Expand Down

0 comments on commit 770e878

Please sign in to comment.