FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix: read timeout_disable_debugger_detection from ini file by pctablet505 · Pull Request #199 · pytest-dev/pytest-timeout · GitHub

Repository navigation

fix: read timeout_disable_debugger_detection from ini file - #199

Merged
flub merged 1 commit into
pytest-dev:mainfrom
pctablet505:fix-175-ini-disable-debugger-detection
Aug 16, 2026
Merged

flub merged 1 commit into
pytest-dev:mainfrom
pctablet505:fix-175-ini-disable-debugger-detection

Conversation

Copy link
Copy Markdown
Contributor

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.

pctablet505 marked this pull request as ready for review July 17, 2026 12:47

flub left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

thanks!

flub merged commit 2383f2b into pytest-dev:main Aug 16, 2026
10 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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

2 participants


Back | FazBrowse Home | New Git URL