pytest-dev / pytest-dev/pytest-random-order
process_failed_first_last_failed → NotImplementedError
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 79
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
I often encounter this exception, especially when I previously ran pytest and a syntax error prevented it to run.
File "/usr/local/lib/python3.7/site-packages/random_order/plugin.py", line 60, in pytest_collection_modifyitems
INTERNALERROR> process_failed_first_last_failed(session, config, items)
INTERNALERROR> File "/usr/local/lib/python3.7/site-packages/random_order/cache.py", line 28, in process_failed_first_last_failed
INTERNALERROR> raise NotImplementedError()
INTERNALERROR> NotImplementedError
Contributor guide
No contributing guide indexed for this repository
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 by reproducing the reported failure with pytest after a syntax error, then read pytest-random-order/plugin.py around pytest_collection_modifyitems and cache.py around process_failed_first_last_failed. Trace how the cache is used during collection and define the expected behavior when the previous run could not collect tests; done means pytest no longer raises this internal NotImplementedError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100