py36+: com2ann
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -2,7 +2,7 @@ from typing import List
|
||||
from unittest import IsolatedAsyncioTestCase # type: ignore
|
||||
|
||||
|
||||
teardowns = [] # type: List[None]
|
||||
teardowns: List[None] = []
|
||||
|
||||
|
||||
class AsyncArguments(IsolatedAsyncioTestCase):
|
||||
|
||||
@@ -5,7 +5,7 @@ from typing import List
|
||||
import asynctest
|
||||
|
||||
|
||||
teardowns = [] # type: List[None]
|
||||
teardowns: List[None] = []
|
||||
|
||||
|
||||
class Test(asynctest.TestCase):
|
||||
|
||||
Reference in New Issue
Block a user