Skip to content

Conflict in argument option --config-file with pytest 7.4.0 #565

@frenzymadness

Description

@frenzymadness

You have --config-file option in your conftest.py:

parser.addoption("--config-file", action="store", help="location of the config file",

and pytest 7.4.0 now has it as well: pytest-dev/pytest@4f3f36c

which results in:

argparse.ArgumentError: argument --config-file: conflicting option string: --config-file

Metadata

Metadata

Assignees

No one assigned

    Labels

    SDKIssue pertains to the SDK itself and not specific to any service

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions