@pytest.mark.parametrize('dashed', ['-2Q1992', '2-Q1992', '4-4Q1992'])
def test_parse_time_quarter_with_dash_error(dashed):
    msg = f'Unknown datetime string format, unable to parse: {dashed}'
    with pytest.raises(parsing.DateParseError, match=msg):
        parse_time_string(dashed)
@pytest.mark.parametrize('dashed', ['-2Q1992', '2-Q1992', '4-4Q1992'])
def test_parse_time_quarter_with_dash_error(dashed):
    msg = f'Unknown datetime string format, unable to parse: {dashed}'
    with pytest.raises(parsing.DateParseError, match=msg):
        parse_time_string(dashed)