def test_parse_time_string():
    (parsed, reso) = parse_time_string('4Q1984')
    (parsed_lower, reso_lower) = parse_time_string('4q1984')
    assert (reso == reso_lower)
    assert (parsed == parsed_lower)
def test_parse_time_string():
    (parsed, reso) = parse_time_string('4Q1984')
    (parsed_lower, reso_lower) = parse_time_string('4q1984')
    assert (reso == reso_lower)
    assert (parsed == parsed_lower)