pytest-dev / pytest-qt

pytest plugin for Qt (PyQt5/PyQt6 and PySide2/PySide6) application testing
https://pytest-qt.readthedocs.io
MIT License
410 stars 70 forks source link

Use new-style hook wrappers #542

Closed nicoddemus closed 9 months ago

nicoddemus commented 9 months ago

The new-style hook wrappers are easier to use because you do not need to call outcome.force_exception on errors, and doing so prevents other hook callers from running.

This requires pluggy>=1.1.

nicoddemus commented 9 months ago

Going ahead and merge this as it is just a small internal improvement. 👍