From bb86af24077563db19412959cdea02040b2a1632 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 23 Dec 2024 14:10:36 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- t/unit/transport/test_rediscluster.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/t/unit/transport/test_rediscluster.py b/t/unit/transport/test_rediscluster.py index 7c102b1f..943fe7ad 100644 --- a/t/unit/transport/test_rediscluster.py +++ b/t/unit/transport/test_rediscluster.py @@ -5,23 +5,25 @@ import copy import socket from itertools import count from queue import Empty -from unittest.mock import Mock, patch, call +from unittest.mock import Mock, call, patch import pytest from redis.exceptions import MovedError -from kombu.utils import eventio - from kombu import Connection, Consumer, Exchange, Producer, Queue -from kombu.transport import rediscluster as redis, virtual +from kombu.transport import rediscluster as redis +from kombu.transport import virtual +from kombu.utils import eventio from kombu.utils.json import dumps from t.unit.transport.virtual.test_base import client pytest.importorskip('redis') -from t.unit.transport.test_redis import Client, _poll, test_GlobalKeyPrefixMixin import redis as _redis +from t.unit.transport.test_redis import (Client, _poll, + test_GlobalKeyPrefixMixin) + class ClusterNode: def __init__(self, host=None, port=None):