Add PyQt5 and PySide2 to test_example.py (#897)

* Add PySide2 to test_example.py

Before, example tests are skipped because no PyQt version was found
This commit is contained in:
2xB 2019-05-28 06:07:25 +02:00 committed by Ogi Moore
parent 08e92adcaa
commit a37e877631

View File

@ -42,7 +42,7 @@ except ImportError:
pass
files = utils.buildFileList(utils.examples)
frontends = {Qt.PYQT4: False, Qt.PYSIDE: False}
frontends = {Qt.PYQT4: False, Qt.PYQT5: False, Qt.PYSIDE: False, Qt.PYSIDE2: False}
# sort out which of the front ends are available
for frontend in frontends.keys():
try: