| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Confidence: high Scope-risk: narrow Tested: Regression fails before fix and passes after; full suite results recorded externally Not-tested: Other operating systems and Python versions
| Back | FazBrowse Home | New Git URL |
Problem and change
pytest --markers advertises disable_debugger_detection on the timeout marker, and item-setting validation already supports it, but the parser rejects that keyword. Preserve the marker value and pass it through existing validation. The regression launches pytest subprocesses with both True and False and reads the resulting item settings; timeout=0 avoids timing-based assertions.
Verification
Original regression: 2 failed (exit 1), each child pytest exited with internal error for Invalid keyword argument. Fixed regression: 2 passed (exit 0), both children passed/exit 0. Full suite: 53 passed, 2 skipped, 6 xfailed (exit 0), 75 seconds. Ruff check/format and diff check pass.
Limits
Tested macOS Python 3.12.13 and pytest 9.1.1 only. Existing platform skips and expected failures remain.
AI assistance: OpenAI Codex drafted and checked this change; all reported commands were run locally.