Add a comment for close() call.
This commit is contained in:
parent
9722d4ba03
commit
cdb9c0998f
@ -71,4 +71,8 @@ class TestTabWidget:
|
|||||||
widget.addTab(page, icon, 'foobar')
|
widget.addTab(page, icon, 'foobar')
|
||||||
widget.show()
|
widget.show()
|
||||||
qtbot.waitForWindowShown(widget)
|
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()
|
widget.close()
|
||||||
|
Loading…
Reference in New Issue
Block a user