[stalbe-5] Remove unnecessary test imports (#5980)

Remove unnecessary test imports (#5978)

Remove unnecessary test imports.

(cherry picked from commit 9f87989e7f)
This commit is contained in:
Felix Fontein 2023-02-12 21:32:49 +01:00 committed by GitHub
commit 66e3c19a57
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
66 changed files with 96 additions and 114 deletions

View file

@ -21,7 +21,7 @@ HAS_REDIS_USERNAME_OPTION = True
if tuple(map(int, __version__.split('.'))) < (3, 4, 0):
HAS_REDIS_USERNAME_OPTION = False
if HAS_REDIS_USERNAME_OPTION:
from redis.exceptions import NoPermissionError, RedisError, ResponseError
from redis.exceptions import NoPermissionError
def test_redis_data_incr_without_arguments(capfd):