From 8ac56ff1fbc426e1e55908c152871c83beed0cf2 Mon Sep 17 00:00:00 2001 From: Behnam Esfahbod Date: Mon, 13 Aug 2018 10:41:53 -0700 Subject: [PATCH] tests: Add type hints to make mypy happy --- tests/test_url_query.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/test_url_query.py b/tests/test_url_query.py index c770b50c7..7146f0e75 100644 --- a/tests/test_url_query.py +++ b/tests/test_url_query.py @@ -1,6 +1,8 @@ +from typing import List, Tuple # noqa: F401 +from urllib.parse import urlencode + import pytest from multidict import MultiDict -from urllib.parse import urlencode from yarl import URL @@ -55,7 +57,7 @@ URL('http://example.com?bar=𝕦𝕟𝕚𝕔𝕠𝕕𝕖'), MultiDict({'bar': '𝕦𝕟𝕚𝕔𝕠𝕕𝕖'}), ), -] +] # type: List[Tuple[URL, MultiDict]] @pytest.mark.parametrize(