summaryrefslogtreecommitdiff
path: root/tests/test_lock.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_lock.py')
-rw-r--r--tests/test_lock.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_lock.py b/tests/test_lock.py
index fa76385..66148ed 100644
--- a/tests/test_lock.py
+++ b/tests/test_lock.py
@@ -7,6 +7,7 @@ from redis.lock import Lock
from .conftest import _get_client
+@pytest.mark.onlynoncluster
class TestLock:
@pytest.fixture()
def r_decoded(self, request):
@@ -220,6 +221,7 @@ class TestLock:
lock.reacquire()
+@pytest.mark.onlynoncluster
class TestLockClassSelection:
def test_lock_class_argument(self, r):
class MyLock: