def METHOD_NAME():
    uneven_yara_output = 'rule1 [meta=0,data=1] /path\n0x0:$a1: AA BB \nrule2 [meta=0,data=1] /path\n'
    with pytest.raises(ValueError):  # noqa: PT011
        _split_output_in_rules_and_matches(uneven_yara_output)