py36+: com2ann

This commit is contained in:
Anthony Sottile
2020-10-05 18:13:05 -07:00
parent 703e89134c
commit 33d119f71a
62 changed files with 431 additions and 443 deletions

View File

@@ -15,7 +15,7 @@ def pytest_generate_tests(metafunc):
@pytest.fixture(scope="session")
def checked_order():
order = [] # type: List[Tuple[str, str, str]]
order: List[Tuple[str, str, str]] = []
yield order
pprint.pprint(order)

View File

@@ -2,7 +2,7 @@ from typing import List
from unittest import IsolatedAsyncioTestCase # type: ignore
teardowns = [] # type: List[None]
teardowns: List[None] = []
class AsyncArguments(IsolatedAsyncioTestCase):

View File

@@ -5,7 +5,7 @@ from typing import List
import asynctest
teardowns = [] # type: List[None]
teardowns: List[None] = []
class Test(asynctest.TestCase):