Skip to content

Commit 7af8c4a

Browse files
committed
fix doctests
1 parent c768edc commit 7af8c4a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

xarray/core/accessor_str.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ class StringAccessor:
124124
>>> da1 % {"a": da2}
125125
<xarray.DataArray (X: 1)>
126126
array(['<xarray.DataArray (Y: 3)>\\narray([1, 2, 3])\\nDimensions without coordinates: Y'],
127-
dtype=object)
127+
dtype=object)
128128
Dimensions without coordinates: X
129129
"""
130130

@@ -590,10 +590,10 @@ def format(
590590
array([[['spam is unexpected', 'spam is unexpected'],
591591
['egg is unexpected', 'egg is unexpected']],
592592
<BLANKLINE>
593-
[['spam and lancelot are like a duck',
594-
'spam and arthur are like a duck'],
593+
[['spam and lancelot are like a duck',
594+
'spam and arthur are like a duck'],
595595
['egg and lancelot are like a duck',
596-
'egg and arthur are like a duck']]], dtype='<U33')
596+
'egg and arthur are like a duck']]], dtype='<U33')
597597
Dimensions without coordinates: X, Y, ZZ
598598
599599

0 commit comments

Comments
 (0)