Skip to content

Commit 45d68c2

Browse files
committed
pep8 white space fixes
1 parent c54116e commit 45d68c2

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

Lib/test/test_calendar.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -864,16 +864,20 @@ class CustomHTMLCal(calendar.HTMLCalendar):
864864
self.cal = CustomHTMLCal()
865865

866866
def test_formatmonthname(self):
867-
self.assertIn('class="text-center month-head"', self.cal.formatmonthname(2017, 5))
867+
self.assertIn('class="text-center month-head"',
868+
self.cal.formatmonthname(2017, 5))
868869

869870
def test_formatmonth(self):
870-
self.assertIn('class="text-center month"', self.cal.formatmonth(2017, 5))
871+
self.assertIn('class="text-center month"',
872+
self.cal.formatmonth(2017, 5))
871873

872874
def test_formatweek(self):
873-
weeks = self.cal.monthdays2calendar(2017,5)
875+
weeks = self.cal.monthdays2calendar(2017, 5)
874876
self.assertIn('class="wed text-nowrap"', self.cal.formatweek(weeks[0]))
877+
875878
def test_format_year(self):
876-
self.assertIn('<tr><th colspan="%d" class="%s">%s</th></tr>' % (3, self.cal.cssclass_year_head, 2017), self.cal.formatyear(2017))
879+
self.assertIn('<tr><th colspan="%d" class="%s">%s</th></tr>' % (
880+
3, self.cal.cssclass_year_head, 2017), self.cal.formatyear(2017))
877881

878882
if __name__ == "__main__":
879883
unittest.main()

0 commit comments

Comments
 (0)