From a053a18f53c758b5600e91586f84227d8242bf7d Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Tue, 31 Aug 2021 17:50:26 -0400 Subject: [PATCH] Can't use built-in generics till 3.9... --- tests/test_task_broadcasting.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_task_broadcasting.py b/tests/test_task_broadcasting.py index e9e5500..f9b00e5 100644 --- a/tests/test_task_broadcasting.py +++ b/tests/test_task_broadcasting.py @@ -5,7 +5,7 @@ from contextlib import asynccontextmanager from functools import partial from itertools import cycle import time -from typing import Optional +from typing import Optional, List, Tuple import pytest import trio @@ -61,8 +61,8 @@ async def ensure_sequence( @asynccontextmanager async def open_sequence_streamer( - sequence: list[int], - arb_addr: tuple[str, int], + sequence: List[int], + arb_addr: Tuple[str, int], start_method: str, shield: bool = False,