Skip to content

Commit

Permalink
Tests: get rid of QXcbConnection warnings
Browse files Browse the repository at this point in the history
E.g. Qt warning: QXcbConnection: XCB error: 8 (BadMatch), sequence: 671, resource id: 2097204, major code: 42 (SetInputFocus), minor code: 0
  • Loading branch information
oakkitten committed May 3, 2022
1 parent e58c435 commit 6d8baf8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_wallpaper.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
from aqt.qt import QColor, QWidget, QImage

from tests.anki_tools import move_main_window_to_state, anki_version
from tests.conftest import wait_until

from tests.conftest import wait_until, wait

image_save_folder = os.getcwd()

Expand Down Expand Up @@ -233,7 +232,9 @@ def text(self, new_text):
yield Editor()
finally:
config_editor.accept()
config_editor.reject()
addons_dialog.accept()
wait(0)


@contextmanager
Expand Down

0 comments on commit 6d8baf8

Please sign in to comment.