Revert "Try another workaround for broken Windows tests."

This reverts commit 852fe2f84c.
This commit is contained in:
Florian Bruhin 2015-02-19 16:59:33 +01:00
parent 852fe2f84c
commit 81fb57bbf0

View File

@ -19,15 +19,13 @@
"""The qutebrowser test suite."""
from PyQt5.QtCore import qInstallMessageHandler
import atexit
import functools
import sip
from PyQt5.QtWidgets import QApplication
def qt_message_handler(msg_type, context, msg):
print("Qt message: {}".format(msg))
# We create a singleton QApplication here.
app = QApplication([])
qInstallMessageHandler(qt_message_handler)
qApp = QApplication([])
atexit.register(functools.partial(sip.delete, qApp))