Skip to content

Manifest "group" sections don't handle non-"+"/"-" lines well #191

@kmod

Description

@kmod

I was writing a "group" section and I just wrote out the names of the benchmarks, but that crashed pyperformance with

  File "/home/kmod/pyston3/build/system_env/lib/python3.8/site-packages/pyperformance/_manifest.py", line 365, in _parse_group_section
    yield op, name
UnboundLocalError: local variable 'op' referenced before assignment

It looks like the non-+/- case doesn't set the variable op:

My assumption was that these should behave like + lines but I wasn't sure

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions