tests: Ignore 'could not de-queue request' error globally

See #5787
This commit is contained in:
Florian Bruhin 2020-10-11 16:23:29 +02:00
parent 7d0ed4a682
commit 2b8b71a82d
2 changed files with 1 additions and 3 deletions

View File

@ -76,6 +76,7 @@ qt_log_ignore =
^QPaintDevice: Cannot destroy paint device that is being painted
^DirectWrite: CreateFontFaceFromHDC\(\) failed .*
^Attribute Qt::AA_ShareOpenGLContexts must be set before QCoreApplication is created\.
^QHttpNetworkConnectionPrivate::_q_hostLookupFinished could not de-queue request, failed to report HostNotFoundError
xfail_strict = true
filterwarnings =
error

View File

@ -745,9 +745,6 @@ class TestProxyFromUrl:
def test_proxy_from_url_valid(self, url, expected):
assert urlutils.proxy_from_url(QUrl(url)) == expected
@pytest.mark.qt_log_ignore(
r'^QHttpNetworkConnectionPrivate::_q_hostLookupFinished could not '
r'de-queue request, failed to report HostNotFoundError')
@pytest.mark.parametrize('scheme', ['pac+http', 'pac+https'])
def test_proxy_from_url_pac(self, scheme, qapp):
fetcher = urlutils.proxy_from_url(QUrl('{}://foo'.format(scheme)))