'Test javascript escaping with a real QWebPage and hypothesis.'

@pytest.mark.qt_log_ignore('^OpenType    support    missing    for    script')
@hypothesis.given(hypothesis.strategies.text())
def test_real_escape_hypothesis(self, webframe, qtbot, text):

    try:
        self._test_escape_simple(text, webframe)
    except AssertionError:
        if (PYQT_VERSION >= 328448):
            self._test_escape_hexlified(text, qtbot, webframe)
