summaryrefslogtreecommitdiff
path: root/tests/test_asyncio/test_pubsub.py
diff options
context:
space:
mode:
authordvora-h <67596500+dvora-h@users.noreply.github.com>2023-03-29 16:50:37 +0300
committerGitHub <noreply@github.com>2023-03-29 16:50:37 +0300
commit49d9cb751c7c30546fc86d11f8168d7aa007edae (patch)
treeb940ea97748b242c40a6b7c2d2e87cabf4d002d8 /tests/test_asyncio/test_pubsub.py
parentb3c89acd0ffe8303649ad8207bc911b1d6a033eb (diff)
downloadredis-py-4.4.tar.gz
Version 4.4.4 (#2671)v4.4.44.4
* Fixing cancelled async futures (#2666) Co-authored-by: James R T <jamestiotio@gmail.com> Co-authored-by: dvora-h <dvora.heller@redis.com> * Version 4.4.4 * fix tests * linters * fixing the test for the 4.4 state * remove superfluous try-except --------- Co-authored-by: Chayim <chayim@users.noreply.github.com> Co-authored-by: James R T <jamestiotio@gmail.com> Co-authored-by: Chayim I. Kirshen <c@kirshen.com>
Diffstat (limited to 'tests/test_asyncio/test_pubsub.py')
-rw-r--r--tests/test_asyncio/test_pubsub.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_asyncio/test_pubsub.py b/tests/test_asyncio/test_pubsub.py
index c2a9130..243d410 100644
--- a/tests/test_asyncio/test_pubsub.py
+++ b/tests/test_asyncio/test_pubsub.py
@@ -967,6 +967,9 @@ class TestBaseException:
# the timeout on the read should not cause disconnect
assert pubsub.connection.is_connected
+ @pytest.mark.skipif(
+ sys.version_info < (3, 8), reason="requires python 3.8 or higher"
+ )
async def test_base_exception(self, r: redis.Redis):
"""
Manually trigger a BaseException inside the parser's .read_response method