From de3f3cf32057dea5709bb7a7cb15c2df85e78dad Mon Sep 17 00:00:00 2001 From: Daniel M Date: Mon, 30 Sep 2024 10:25:57 -0400 Subject: [PATCH] fix:flake8 --- test/test_asyncredis.py | 3 +-- test/test_internals/test_asyncredis.py | 8 -------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/test/test_asyncredis.py b/test/test_asyncredis.py index 70274a2a..156c67a2 100644 --- a/test/test_asyncredis.py +++ b/test/test_asyncredis.py @@ -1,5 +1,4 @@ import asyncio -import re import sys if sys.version_info >= (3, 11): @@ -11,7 +10,7 @@ import redis import redis.asyncio -from fakeredis import FakeServer, aioredis, FakeAsyncRedis, FakeStrictRedis +from fakeredis import FakeServer, aioredis from test import testtools pytestmark = [] diff --git a/test/test_internals/test_asyncredis.py b/test/test_internals/test_asyncredis.py index eac51995..e67b1b47 100644 --- a/test/test_internals/test_asyncredis.py +++ b/test/test_internals/test_asyncredis.py @@ -1,13 +1,6 @@ -import asyncio import re -import sys -if sys.version_info >= (3, 11): - from asyncio import timeout as async_timeout -else: - from async_timeout import timeout as async_timeout import pytest -import pytest_asyncio import redis import redis.asyncio @@ -144,4 +137,3 @@ async def test_init_args(): assert await r3.get("bar") == b"baz" assert await r4.get("bar") == b"baz" assert await r1.get("bar") is None -