Skip to content

Tools/cases_generator/optimizer_generator CLI does not work without explicit arguments #116000

Closed
@Eclips4

Description

@Eclips4

Bug report

Bug description:

python3.11 optimizer_generator.py 
usage: optimizer_generator.py [-h] [-o OUTPUT] [-d] input ...
optimizer_generator.py: error: the following arguments are required: input, base

I think it should work as the other generators.

However, these lines suggests that it should work:

if len(args.base) == 0:
args.input.append(DEFAULT_INPUT)
args.input.append(DEFAULT_ABSTRACT_INPUT)

cc @Fidget-Spinner

CPython versions tested on:

CPython main branch

Operating systems tested on:

No response

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions