Skip to content

Commit 68e8098

Browse files
committed
fixup
1 parent bf8dad5 commit 68e8098

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_textwrap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1079,7 +1079,7 @@ def test_first_word_too_long_but_placeholder_fits(self):
10791079

10801080
class WideCharacterTestCase(BaseTestCase):
10811081
def text_len(self, text):
1082-
sum(
1082+
return sum(
10831083
2 if unicodedata.east_asian_width(c) in {'F', 'W'} else 1
10841084
for c in text
10851085
)

0 commit comments

Comments
 (0)