From 4e929e66d86dfc5a65079025dc0a1afdf9a380ae Mon Sep 17 00:00:00 2001 From: Daniel M Date: Fri, 27 Sep 2024 14:18:47 -0400 Subject: [PATCH] fix:tests for redis 5.1.0 --- test/test_mixins/test_connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_mixins/test_connection.py b/test/test_mixins/test_connection.py index 55299069..fbfcd7ca 100644 --- a/test/test_mixins/test_connection.py +++ b/test/test_mixins/test_connection.py @@ -44,7 +44,7 @@ def test_decode_str(self, r): def test_decode_set(self, r): r.sadd("foo", "member1") - assert r.smembers("foo") == {"member1"} + assert set(r.smembers("foo")) == {"member1"} def test_decode_list(self, r): r.rpush("foo", "a", "b")