summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorFlorian Bruhin <git@the-compiler.org>2015-10-30 07:15:26 +0100
committerFlorian Bruhin <git@the-compiler.org>2015-11-01 17:41:40 +0100
commit3a522fb5514b96ef1b7b8ce7e94c31803b026f0e (patch)
treed2a6b2d014f995e652534affdf2827c3fec555fc /tests
parent79e80afac8736931c9d85be5429c62dcc5393904 (diff)
downloadqutebrowser-3a522fb5514b96ef1b7b8ce7e94c31803b026f0e.tar.gz
qutebrowser-3a522fb5514b96ef1b7b8ce7e94c31803b026f0e.zip
tests: Remove .close() workaround.
This is not needed anymore with pytest-qt 1.9.0.
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/mainwindow/test_tabwidget.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/unit/mainwindow/test_tabwidget.py b/tests/unit/mainwindow/test_tabwidget.py
index 6d5dd9cb5..1547d905a 100644
--- a/tests/unit/mainwindow/test_tabwidget.py
+++ b/tests/unit/mainwindow/test_tabwidget.py
@@ -71,8 +71,3 @@ class TestTabWidget:
widget.addTab(page, icon, 'foobar')
widget.show()
qtbot.waitForWindowShown(widget)
- # We need to call close() here because closing needs the stubbed config
- # on OS X, but when qtbot closes it, the config stub is already gone.
- # WORKAROUND for https://github.com/pytest-dev/pytest-qt/issues/106
- # https://github.com/The-Compiler/qutebrowser/pull/1048#issuecomment-150660769
- widget.close()