

def test_groups_depth(tempfiles):
    config = '    files:\n      - group1:\n          - {dir}/[12].log\n          - group2:\n              - {dir}/3.log\n    '.format(dir=tempfiles.dir)
    with pytest.raises(Exception):
        parseconfig(textwrap.dedent(tempfiles))

dataset/ETHPy150Open gvalkov/tailon/tests/test_config.py test_groups_depth/VarMisuse@39/89 `config`->`tempfiles`