Skip to content

Fix Qt exception capture configuration and marker precedence - #680

Open
Arpi-d3y wants to merge 1 commit into
pytest-dev:mainfrom
Arpi-d3y:fix/qt-exception-capture-ini-576
Open

Arpi-d3y wants to merge 1 commit into
pytest-dev:mainfrom
Arpi-d3y:fix/qt-exception-capture-ini-576

Conversation

@Arpi-d3y

Copy link
Copy Markdown

Fixes #576

Changes

  • Parse qt_no_exception_capture as a boolean configuration option.
  • Allow explicit False and 0 markers to override the global setting.
  • Preserve the existing no-argument marker behavior.
  • Add seven parameterized regression tests.

Testing

  • Targeted tests: 17 passed, 5 skipped.
  • Full suite: 337 passed, 2 failed, 8 skipped, 42 xfailed.
  • Both full-suite failures were already present before the changes and involve Qt window activation and macOS Retina screenshot scaling.
  • Compilation: PASS.
  • Ruff lint: PASS; formatting applied.

This branch has not been deployed

No deployments
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.

qt_no_exception_capture = 0 is not working

1 participant