Skip to content

Commit b86dffb

Browse files
committed
remove trailing whitespace
1 parent 79e0134 commit b86dffb

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

Lib/test/test_calendar.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -696,12 +696,12 @@ def test_locale_calendar_formatweekday(self):
696696
except locale.Error:
697697
raise unittest.SkipTest('cannot set the en_US locale')
698698

699-
# These locales have weekday names all shorter than English's longest
699+
# These locales have weekday names all shorter than English's longest
700700
# 'Wednesday'. They should not be abbreviated unnecessarily
701-
@support.run_with_locales("LC_ALL",
702-
'Chinese', 'zh_CN.UTF-8',
701+
@support.run_with_locales("LC_ALL",
702+
'Chinese', 'zh_CN.UTF-8',
703703
'French', 'fr_FR.UTF-8',
704-
'Norwegian', 'nb_NO.UTF-8',
704+
'Norwegian', 'nb_NO.UTF-8',
705705
'Malay', 'ms_MY.UTF8'
706706
)
707707
def test_locale_calendar_short_weekday_names(self):
@@ -715,19 +715,19 @@ def get_weekday_names(width):
715715

716716
# Weekday names should not be abbreviated if the width is sufficient
717717
self.assertEqual(
718-
get_weekday_names(max_length),
718+
get_weekday_names(max_length),
719719
get_weekday_names(max_length + 10)
720720
)
721721

722722
# Any width shorter than necessary should produce abbreviations
723723
self.assertNotEqual(
724-
get_weekday_names(max_length),
724+
get_weekday_names(max_length),
725725
get_weekday_names(max_length - 1)
726726
)
727727

728728
# These locales have a weekday name longer than 'Wednesday'
729729
# They should be properly abbreviated rather than truncated
730-
@support.run_with_locales("LC_ALL",
730+
@support.run_with_locales("LC_ALL",
731731
'Portuguese', 'pt_PT.UTF-8',
732732
'German', 'de_DE.UTF-8',
733733
'Russian', 'ru_RU.UTF-8',

0 commit comments

Comments
 (0)