human
I wrote the below code

    def test_strftime_fields(dt):
        u'For    datetime    object    dt,    check    DateFormatter    fields'
        formatter = mdates.DateFormatter(u'%w    %d    %m    %y    %Y    %H    %I    %M    %S    %%%f    %%x')
        formatted_date_str = u'{weekday}    {day:02d}    {month:02d}    {year:02d}    {full_year:04d}    {hour24:02d}    {hour12:02d}    {minute:02d}    {second:02d}    %{microsecond:06d}    %x'.format(weekday=str(((dt.weekday() + 1) % 7)), day=dt.day, month=dt.month, year=(dt.year % 100), full_year=dt.year, hour24=dt.hour, hour12=(((dt.hour - 1) % 12) + 1), minute=dt.minute, second=dt.second, microsecond=dt.microsecond)
        assert (formatter.strftime(dt) == formatted_date_str)
        try:
            import locale
            locale_formatter = mdates.DateFormatter(u'%x')
            locale_d_fmt = locale.nl_langinfo(locale.D_FMT)
            expanded_formatter = mdates.DateFormatter(locale_d_fmt)
            assert (locale_formatter.strftime(dt) == expanded_formatter.strftime(dt))
        except (ImportError, AttributeError):
            pass
    for year in range(1, 3000, 71):
        test_strftime_fields(datetime.datetime(year, 1, 1))
        test_strftime_fields(datetime.datetime(year, 2, 3, 4, 5, 6, 12345))

What's a good function header?

Here's a good function header?
assistant
#Here's a good function header.

def test_date_formatter_strftime():