Skip to content

Commit

Permalink
fix doctests
Browse files Browse the repository at this point in the history
  • Loading branch information
toddrjen committed Dec 31, 2020
1 parent d0b8600 commit 60622d3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions xarray/core/accessor_str.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ class StringAccessor:
>>> da1 % {"a": da2}
<xarray.DataArray (X: 1)>
array(['<xarray.DataArray (Y: 3)>\\narray([1, 2, 3])\\nDimensions without coordinates: Y'],
dtype=object)
dtype=object)
Dimensions without coordinates: X
"""

Expand Down Expand Up @@ -590,10 +590,10 @@ def format(
array([[['spam is unexpected', 'spam is unexpected'],
['egg is unexpected', 'egg is unexpected']],
<BLANKLINE>
[['spam and lancelot are like a duck',
'spam and arthur are like a duck'],
[['spam and lancelot are like a duck',
'spam and arthur are like a duck'],
['egg and lancelot are like a duck',
'egg and arthur are like a duck']]], dtype='<U33')
'egg and arthur are like a duck']]], dtype='<U33')
Dimensions without coordinates: X, Y, ZZ
Expand Down

0 comments on commit 60622d3

Please sign in to comment.