def test_format_month_day():
    '\n    format_month_day should format the month and day from a datetime\n    '
    dt = datetime.datetime(year=2020, month=1, day=1, tzinfo=pytz.UTC)
    assert (format_month_day(dt) == 'Jan 1')
    assert (format_month_day(dt, month_fmt='%b') == 'Jan 1')
    assert (format_month_day(dt, month_fmt='%B') == 'January 1')
format_month_day should format the month and day from a datetime
def test_format_month_day():
    '\n    \n    '
    dt = datetime.datetime(year=2020, month=1, day=1, tzinfo=pytz.UTC)
    assert (format_month_day(dt) == 'Jan 1')
    assert (format_month_day(dt, month_fmt='%b') == 'Jan 1')
    assert (format_month_day(dt, month_fmt='%B') == 'January 1')