Skip to content

fix: read timeout_disable_debugger_detection from ini file#199

Draft
pctablet505 wants to merge 1 commit into
pytest-dev:mainfrom
pctablet505:fix-175-ini-disable-debugger-detection
Draft

fix: read timeout_disable_debugger_detection from ini file#199
pctablet505 wants to merge 1 commit into
pytest-dev:mainfrom
pctablet505:fix-175-ini-disable-debugger-detection

Conversation

@pctablet505

Copy link
Copy Markdown

Fixes #175

The --timeout-disable-debugger-detection CLI option used store_true with a default of False, so config.getvalue() always returned False when the flag was absent and the ini file value was never checked. Setting the CLI option default to None allows the ini value to be read as a fallback, matching how timeout_method and timeout are handled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to set 'timeout_disable_debugger_detection' in the ini file

1 participant