summaryrefslogtreecommitdiff
path: root/tests/test_asyncio/test_cluster.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_asyncio/test_cluster.py')
-rw-r--r--tests/test_asyncio/test_cluster.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_asyncio/test_cluster.py b/tests/test_asyncio/test_cluster.py
index 0d0ea33..8766cbf 100644
--- a/tests/test_asyncio/test_cluster.py
+++ b/tests/test_asyncio/test_cluster.py
@@ -11,6 +11,8 @@ from .compat import mock
if sys.version_info[0:2] == (3, 6):
import pytest as pytest_asyncio
+
+ pytestmark = pytest.mark.asyncio
else:
import pytest_asyncio
@@ -39,8 +41,6 @@ from tests.conftest import (
skip_unless_arch_bits,
)
-pytestmark = pytest.mark.asyncio
-
default_host = "127.0.0.1"
default_port = 7000
default_cluster_slots = [