Skip to content

Releases: pytest-dev/pytest-qt

Catching exceptions in Qt virtual methods

31 May 22:10
Compare
Choose a tag to compare
  • Added stop as an alias for stopForInteraction (#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

14 May 01:16
Compare
Choose a tag to compare

This release adds support for Python 3+.

Minor documentation fixes

10 Sep 03:34
Compare
Choose a tag to compare

This is just a minor release with some documentation improvements.

Small bug fix release

10 Sep 03:45
Compare
Choose a tag to compare
1.0.1

Fixed setup.py to include distribute_setup in sdist

First working version

10 Sep 03:45
Compare
Choose a tag to compare
1.0.0

Bumping version to 1.0