Skip to content

Commit

Permalink
fix:flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
cunla committed Sep 30, 2024
1 parent 13de0f7 commit de3f3cf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
3 changes: 1 addition & 2 deletions test/test_asyncredis.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import asyncio
import re
import sys

if sys.version_info >= (3, 11):
Expand All @@ -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 = []
Expand Down
8 changes: 0 additions & 8 deletions test/test_internals/test_asyncredis.py
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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

0 comments on commit de3f3cf

Please sign in to comment.