Skip to content

Commit 18f913c

Browse files
committed
Fix doctest
1 parent d7a41a9 commit 18f913c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xarray/coding/strings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ class StackedBytesArray(indexing.ExplicitlyIndexedNDArrayMixin):
221221
values, when accessed, are automatically stacked along the last dimension.
222222
223223
>>> indexer = indexing.BasicIndexer((slice(None),))
224-
>>> StackedBytesArray(np.array(["a", "b", "c"], dtype="S1"))[indexer]
224+
>>> np.array(StackedBytesArray(np.array(["a", "b", "c"], dtype="S1"))[indexer])
225225
array(b'abc', dtype='|S3')
226226
"""
227227

0 commit comments

Comments
 (0)