Releases: pytest-dev/pytest-qt
Releases · pytest-dev/pytest-qt
Catching exceptions in Qt virtual methods
- Added
stop
as an alias forstopForInteraction
(#10, thanks @itghisi) - Now exceptions raised in virtual methods make tests fail, instead of silently passing (#11). If an exception is raised, the test will fail and it exceptions that happened inside virtual calls will be printed as such:
E Failed: Qt exceptions in virtual methods:
E ________________________________________________________________________________
E File "x:\pytest-qt\pytestqt\_tests\test_exceptions.py", line 14, in event
E raise ValueError('mistakes were made')
E
E ValueError: mistakes were made
E ________________________________________________________________________________
E File "x:\pytest-qt\pytestqt\_tests\test_exceptions.py", line 14, in event
E raise ValueError('mistakes were made')
E
E ValueError: mistakes were made
E ________________________________________________________________________________
Thanks to @jdreaver for request and sample code!
- Fixed documentation for
QtBot
: it was not being rendered in the docs due to an import error.
Python 3 support
This release adds support for Python 3+.
Minor documentation fixes
This is just a minor release with some documentation improvements.
Small bug fix release
1.0.1 Fixed setup.py to include distribute_setup in sdist
First working version
1.0.0 Bumping version to 1.0