diff --git a/tests/unit/misc/test_checkpyver.py b/tests/unit/misc/test_checkpyver.py index 504f0829d..29c728f8a 100644 --- a/tests/unit/misc/test_checkpyver.py +++ b/tests/unit/misc/test_checkpyver.py @@ -76,7 +76,7 @@ def test_patched_errwindow(capfd, mocker, monkeypatch): lambda status: None) try: - import tkinter + import tkinter # pylint: disable=unused-variable except ImportError: tk_mock = mocker.patch('qutebrowser.misc.checkpyver.Tk', spec=['withdraw'], new_callable=mocker.Mock)