oracle / oracle/oci-python-sdk
Conflict in argument option --config-file with pytest 7.4.0
Open
Nobody has claimed this yet.
SDK
- Dominant language
- Python
- Stars
- 474
- Forks
- 321
- Avg merge
- 23m
- Merged PRs (30d)
- 4
Description
You have --config-file option in your conftest.py:
and pytest 7.4.0 now has it as well: https://github.com/pytest-dev/pytest/commit/4f3f36c396b52f8398bc4734ff0c00c57cf1fed1
which results in:
argparse.ArgumentError: argument --config-file: conflicting option string: --config-file
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in tests/conftest.py at line 16 and compare its --config-file option with pytest 7.4.0's built-in option. Reproduce the argparse conflict using the test setup, then verify that the test suite starts without the duplicate option error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100