Skip to content

Commit ab8a1d8

Browse files
committed
Use an annotation for the typehint
1 parent 632a6de commit ab8a1d8

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tests/test_url_query.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
1-
from typing import List, Tuple # noqa: F401
1+
from typing import List, Tuple
22
from urllib.parse import urlencode
33

44
import pytest
55
from multidict import MultiDict, MultiDictProxy
66

77
from yarl import URL
88

9-
109
# ========================================
1110
# Basic chars in query values
1211
# ========================================
1312

14-
URLS_WITH_BASIC_QUERY_VALUES = [
13+
URLS_WITH_BASIC_QUERY_VALUES: List[Tuple[URL, MultiDict]] = [
1514
# Empty strings, keys and values
1615
(
1716
URL("http://example.com"),
@@ -52,7 +51,7 @@
5251
URL("http://example.com?bar=𝕦𝕟𝕚𝕔𝕠𝕕𝕖"),
5352
MultiDict({"bar": "𝕦𝕟𝕚𝕔𝕠𝕕𝕖"}),
5453
),
55-
] # type: List[Tuple[URL, MultiDict]]
54+
]
5655

5756

5857
@pytest.mark.parametrize(

0 commit comments

Comments
 (0)