Can't use built-in generics till 3.9...
parent
db86409369
commit
a053a18f53
|
@ -5,7 +5,7 @@ from contextlib import asynccontextmanager
|
||||||
from functools import partial
|
from functools import partial
|
||||||
from itertools import cycle
|
from itertools import cycle
|
||||||
import time
|
import time
|
||||||
from typing import Optional
|
from typing import Optional, List, Tuple
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
import trio
|
import trio
|
||||||
|
@ -61,8 +61,8 @@ async def ensure_sequence(
|
||||||
@asynccontextmanager
|
@asynccontextmanager
|
||||||
async def open_sequence_streamer(
|
async def open_sequence_streamer(
|
||||||
|
|
||||||
sequence: list[int],
|
sequence: List[int],
|
||||||
arb_addr: tuple[str, int],
|
arb_addr: Tuple[str, int],
|
||||||
start_method: str,
|
start_method: str,
|
||||||
shield: bool = False,
|
shield: bool = False,
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue