def METHOD_NAME():
    # msgs = {1: 'time string ends at beginning of component where break is not allowed',
    #         2: 'time string ends in middle of component',
    #         3: 'required delimiter character not found',
    #         4: 'non-digit found where digit (0-9) required',
    #         5: 'bad day of year (1 <= doy <= 365 or 366 for leap year'}
    with conf.set_temp("use_fast_parser", "force"):
        for times, err in [
            ("2020:150:12", "time string ends at beginning of component"),
            ("2020:150:1", "time string ends in middle of component"),
            ("2020:150*12:13:14", "required delimiter character"),
            ("2020:15*:12:13:14", "non-digit found where digit"),
            ("2020:999:12:13:14", "bad day of year"),
        ]:
            with pytest.raises(ValueError, match=err):
                Time(times, format="yday")