summaryrefslogtreecommitdiff
path: root/tests/test_asyncio/test_lock.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_asyncio/test_lock.py')
-rw-r--r--tests/test_asyncio/test_lock.py9
1 files changed, 1 insertions, 8 deletions
diff --git a/tests/test_asyncio/test_lock.py b/tests/test_asyncio/test_lock.py
index 86a8d62..09aec75 100644
--- a/tests/test_asyncio/test_lock.py
+++ b/tests/test_asyncio/test_lock.py
@@ -1,14 +1,7 @@
import asyncio
-import sys
import pytest
-
-if sys.version_info[0:2] == (3, 6):
- import pytest as pytest_asyncio
-
- pytestmark = pytest.mark.asyncio
-else:
- import pytest_asyncio
+import pytest_asyncio
from redis.asyncio.lock import Lock
from redis.exceptions import LockError, LockNotOwnedError