forked from pool/python-pytest-qt
- Update to 4.2.0:
* Import the code sub-package from the correct location rather than the
deprecated py package, restoring compatibility with pytest 7.2.0, where py
was dropped. Thanks @The-Compiler for the PR.
* Use pytest.hookimpl to configure hooks, avoiding a deprecation warning in
pytest 7.2.0. Thanks @The-Compiler for the PR.
* Now pytest-qt will check if any of the Qt libraries is already imported by
the time the plugin loads, and use it if that is the case (#412). Thanks
@eyllanesc for the PR.
* Most custom pytest-qt exceptions can be accessed via qtbot (for example
qtbot.TimeoutError), but it was not always explicit in the documentation
that this is the recommended way to access those exceptions, instead of
importing them from pytestqt.exceptions. This is now clarified in the
documentation and examples, and an alias to ScreenshotError has been added
to qtbot so it can be accessed in the same way (#460).
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-qt?expand=0&rev=15
13 KiB
13 KiB