@pytest.mark.parametrize('date_str,expected', [('201101', datetime(2011, 1, 1, 0, 0)), ('200005', datetime(2000, 5, 1, 0, 0))])
def test_parsers_month_freq(date_str, expected):
    (result, _) = parsing.parse_time_string(date_str, freq='M')
    assert (result == expected)
@pytest.mark.parametrize('date_str,expected', [('201101', datetime(2011, 1, 1, 0, 0)), ('200005', datetime(2000, 5, 1, 0, 0))])
def test_parsers_month_freq(date_str, expected):
    (result, _) = parsing.parse_time_string(date_str, freq='M')
    assert (result == expected)