tests: Ignore "SelectionRequest too old" globally.

If we use pytestmark, it won't be ignored inside subprocess output, so our fix
from https://github.com/The-Compiler/qutebrowser/issues/1124#issuecomment-158073581
never actually worked.

See #1124 and #1183.
This commit is contained in:
Florian Bruhin 2015-12-17 22:33:07 +01:00
parent 8786e979a6
commit fc84e58043
3 changed files with 1 additions and 8 deletions

View File

@ -38,3 +38,4 @@ qt_log_ignore =
^QWaitCondition: Destroyed while threads are still waiting
^QXcbXSettings::QXcbXSettings\(QXcbScreen\*\) Failed to get selection owner for XSETTINGS_S atom
^QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to .*
^QXcbClipboard: SelectionRequest too old

View File

@ -26,9 +26,4 @@ from PyQt5.QtGui import QClipboard
from test_yankpaste import skip_with_broken_clipboard
# https://github.com/The-Compiler/qutebrowser/issues/1124#issuecomment-158073581
pytestmark = pytest.mark.qt_log_ignore(
'^QXcbClipboard: SelectionRequest too old', extend=True)
bdd.scenarios('caret.feature')

View File

@ -24,9 +24,6 @@ import pytest_bdd as bdd
bdd.scenarios('yankpaste.feature')
# https://github.com/The-Compiler/qutebrowser/issues/1124#issuecomment-158073581
pytestmark = pytest.mark.qt_log_ignore(
'^QXcbClipboard: SelectionRequest too old', extend=True)
@pytest.fixture(autouse=True)
def skip_with_broken_clipboard(qtbot, qapp):