Ignore "Unable to set geometry" warnings in tests.

This reverts commits 9b066ec50a and
83f7cf84a9.

This was still broken even after setting the geometry:

https://ci.appveyor.com/project/The-Compiler/qutebrowser
This commit is contained in:
Florian Bruhin 2015-06-12 17:04:12 +02:00
parent f17131f6c2
commit 219c2f8ae8
3 changed files with 1 additions and 2 deletions

View File

@ -39,7 +39,6 @@ def progress_widget(qtbot, monkeypatch, config_stub):
'qutebrowser.mainwindow.statusbar.progress.style.config', config_stub)
widget = Progress()
qtbot.add_widget(widget)
widget.setGeometry(200, 200, 200, 200)
assert not widget.isVisible()
assert not widget.isTextVisible()
return widget

View File

@ -46,7 +46,6 @@ def test_elided_text(qtbot, elidemode, check):
"""
label = TextBase(elidemode=elidemode)
qtbot.add_widget(label)
label.setGeometry(200, 200, 200, 200)
long_string = 'Hello world! ' * 20
label.setText(long_string)
label.resize(100, 50)

View File

@ -166,3 +166,4 @@ qt_log_level_fail = WARNING
qt_log_ignore =
^SpellCheck: .*
^SetProcessDpiAwareness failed: .*
^QWindowsWindow::setGeometryDp: Unable to set geometry .*