Skip to content

Commit cb74e93

Browse files
committed
Merge pull request #61 from gqmelo/master
Fix qapp fixture that was returning None.
2 parents d32a7ca + 52569af commit cb74e93

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ Many thanks to:
111111
- Fabio Zadrozny (`@fabioz <https://github.com/fabioz>`_);
112112
- Datalyze Solutions (`@datalyze-solutions <https://github.com/datalyze-solutions>`_);
113113
- Florian Bruhin (`@The-Compiler <https://github.com/The-Compiler>`_);
114+
- Guilherme Quentel Melo (`@gqmelo <https://github.com/gqmelo>`_);
114115

115116
**Powered by**
116117

pytestqt/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ def qapp():
525525
if app is None:
526526
global _qapp_instance
527527
_qapp_instance = QApplication([])
528-
yield app
528+
yield _qapp_instance
529529
else:
530530
yield app # pragma: no cover
531531

0 commit comments

Comments
 (0)