def test_calendary_weekday_returns_ordinal(self):
third_tuesday_in_july = Calendary(2016).weekday('Tuesday', month=7, ordinal=3)
assert third_tuesday_in_july == ('Tuesday', datetime.date(month=7, day=19, year=2016))
评论列表
文章目录