Try calling sip.delete on the test QApplication.

Maybe this helps with the unit tests on Windows?
This commit is contained in:
Florian Bruhin 2015-02-19 10:03:19 +01:00
parent 543c6cb90b
commit 7dd908bd51

View File

@ -20,10 +20,12 @@
"""The qutebrowser test suite."""
import atexit
import functools
import sip
from PyQt5.QtWidgets import QApplication
# We create a singleton QApplication here.
qApp = QApplication([])
atexit.register(qApp.quit)
atexit.register(functools.partial(sip.delete, qApp))