def test_parse_duration(spec, expected_delta): """``unit=num`` specs can be translated into ``timedelta`` instances.""" assert parse_duration(spec) == expected_delta
def test_parse_duration(spec, expected_delta): """``unit=num`` specs can be translated into ``timedelta`` instances.""" assert parse_duration(spec) == expected_delta