def has_qt():
    try:
        from PyQt4 import QtWebKit
    except ImportError:
        try:
            from PySide import QtWebKit
        except __HOLE__:
            return False
    return True
dataset/ETHPy150Open zoofIO/flexx/flexx/webruntime/tests/test_runtimes.py/has_qt