Fixed Py3.8 support

This commit is contained in:
Alex Root Junior 2023-03-11 20:28:17 +02:00
parent c26ff48f70
commit 0269dd7ac8
No known key found for this signature in database
GPG key ID: 074C1D455EBEA4AC

View file

@ -1,5 +1,5 @@
import asyncio
from typing import Any, AsyncContextManager, AsyncGenerator
from typing import Any, AsyncContextManager, AsyncGenerator, Dict, List
from unittest.mock import AsyncMock, patch
import aiohttp_socks
@ -113,8 +113,8 @@ class TestAiohttpSession:
bool_: bool
unset_: str = UNSET_PARSE_MODE
null_: None
list_: list[str]
dict_: dict[str, Any]
list_: List[str]
dict_: Dict[str, Any]
session = AiohttpSession()
form = session.build_form_data(