Can't use built-in generics till 3.9...

tokio_backup
Tyler Goodlet 2021-08-31 17:50:26 -04:00
parent db86409369
commit a053a18f53
1 changed files with 3 additions and 3 deletions

View File

@ -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,