From a32a06e257bd3b5a66217865ed11194b08eb8860 Mon Sep 17 00:00:00 2001 From: Stephen Daves Date: Wed, 15 Nov 2023 23:03:18 -0500 Subject: [PATCH] Update test_effect.py --- tests/test_effect.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/test_effect.py b/tests/test_effect.py index 210c9f19..62eb5561 100644 --- a/tests/test_effect.py +++ b/tests/test_effect.py @@ -6,7 +6,11 @@ from unittest import mock import aiohttp -import asynctest +try: + import asynctest +except AttributeError as err: + asyncio.coroutine = lambda fn: lambda: fn() + import asynctest import pytest from hypothesis import assume, given, settings from typing_extensions import Protocol