diff options
author | Florian Bruhin <me@the-compiler.org> | 2023-06-12 23:53:15 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2023-06-12 23:59:11 +0200 |
commit | 8fdb5b09be656ffc5c6c39c76b14038d9233eae3 (patch) | |
tree | 59ce11226d8cbf86de2abfcb584c58d7a3a3b7f1 /tests | |
parent | eeb39d633004c00f21749b964cdf5b0d66ae371c (diff) | |
download | qutebrowser-8fdb5b09be656ffc5c6c39c76b14038d9233eae3.tar.gz qutebrowser-8fdb5b09be656ffc5c6c39c76b14038d9233eae3.zip |
qt: Fix typing/lint
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/test_qt_machinery.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/unit/test_qt_machinery.py b/tests/unit/test_qt_machinery.py index ffbb39543..7ae5576d1 100644 --- a/tests/unit/test_qt_machinery.py +++ b/tests/unit/test_qt_machinery.py @@ -22,7 +22,7 @@ import sys import argparse import typing -from typing import Any, Optional +from typing import Any, Optional, Dict, List import pytest @@ -42,7 +42,7 @@ def modules(): def test_autoselect_none_available( stubs: Any, - modules: dict[str, bool], + modules: Dict[str, bool], monkeypatch: pytest.MonkeyPatch, ): stubs.ImportFake(modules, monkeypatch).patch() @@ -62,8 +62,8 @@ def test_autoselect_none_available( ) def test_autoselect( stubs: Any, - modules: dict[str, bool], - available: list[str], + modules: Dict[str, bool], + available: List[str], expected: str, monkeypatch: pytest.MonkeyPatch, ): |