summaryrefslogtreecommitdiff
path: root/tests/end2end/fixtures/quteprocess.py
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2020-08-11 13:12:06 +0200
committerFlorian Bruhin <me@the-compiler.org>2020-08-11 13:18:37 +0200
commit44aeb1e29dda902754d1acd1c04e13627aed8281 (patch)
tree8d0675833b28241a54a3e43e172c5cd8ba90e967 /tests/end2end/fixtures/quteprocess.py
parentdefd18d963fa1a79d3116a77664cc23c73dde602 (diff)
downloadqutebrowser-44aeb1e29dda902754d1acd1c04e13627aed8281.tar.gz
qutebrowser-44aeb1e29dda902754d1acd1c04e13627aed8281.zip
Ignore python-hunter/Cython warning in tests
See https://github.com/ionelmc/python-hunter/issues/87
Diffstat (limited to 'tests/end2end/fixtures/quteprocess.py')
-rw-r--r--tests/end2end/fixtures/quteprocess.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/end2end/fixtures/quteprocess.py b/tests/end2end/fixtures/quteprocess.py
index 5fb095583..78fd0e48a 100644
--- a/tests/end2end/fixtures/quteprocess.py
+++ b/tests/end2end/fixtures/quteprocess.py
@@ -114,6 +114,12 @@ def is_ignored_lowlevel_message(message):
'*/QtWebEngineProcess: /lib/x86_64-linux-gnu/libdbus-1.so.3: no '
'version information available (required by '
'*/libQt5WebEngineCore.so.5)',
+
+ # hunter and Python 3.9
+ # https://github.com/ionelmc/python-hunter/issues/87
+ '<frozen importlib._bootstrap>:*: RuntimeWarning: builtins.type size changed, '
+ 'may indicate binary incompatibility. Expected 872 from C header, got 880 from '
+ 'PyObject',
]
return any(testutils.pattern_match(pattern=pattern, value=message)
for pattern in ignored_messages)