tests: Remove .close() workaround.

This is not needed anymore with pytest-qt 1.9.0.
This commit is contained in:
Florian Bruhin 2015-10-30 07:15:26 +01:00
parent 79e80afac8
commit 3a522fb551

View File

@ -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()