--- a/test/test_mixins/test_set_commands.py
+++ b/test/test_mixins/test_set_commands.py
@@ -153,7 +153,7 @@
 
     # verify that command fails if the input parameter is of wrong type
     r.sadd('foo2', 'member1', 'member2', 'member3')
-    with pytest.raises(redis.DataError, match='Invalid input of type'):
+    with pytest.raises(redis.DataError, match='A tuple item must be str, int, float or bytes'):
         r.smismember('foo2', [["member1", "member2"]])
 
 
