Skip to content

Commit c9ec715

Browse files
committed
Fix multiple-wrap test
1 parent 9d4073a commit c9ec715

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

lib/matplotlib/tests/test_text.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -599,9 +599,10 @@ def test_wrap():
599599
s = 'This is a very long text that should be wrapped multiple times.'
600600
text = fig.text(0.7, 0.5, s, wrap=True)
601601
fig.canvas.draw()
602-
assert text._get_wrapped_text() == ('This is a very long text\n'
603-
'that should be wrapped\n'
604-
'multiple times.')
602+
assert text._get_wrapped_text() == ('This is a very long\n'
603+
'text that should be\n'
604+
'wrapped multiple\n'
605+
'times.')
605606

606607

607608
def test_long_word_wrap():

0 commit comments

Comments
 (0)