Skip to content

Commit a168460

Browse files
fix broken test due to version changes
1 parent 5b3e74c commit a168460

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/integration/test_llmcache.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -941,7 +941,7 @@ def test_create_cache_with_different_vector_types(worker_id, redis_url):
941941
for cache in [bfloat_cache, float16_cache, float32_cache, float64_cache]:
942942
cache.set_threshold(0.6)
943943
assert len(cache.check("float prompt", num_results=5)) == 1
944-
except RedisModuleVersionError:
944+
except:
945945
pytest.skip("Required Redis modules not available or version too low")
946946

947947

tests/integration/test_message_history.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ def test_different_vector_dtypes(redis_url):
585585
sess.set_distance_threshold(0.7)
586586
assert len(sess.get_relevant("float message")) == 1
587587
sess.delete() # Clean up
588-
except RedisModuleVersionError:
588+
except:
589589
pytest.skip("Required Redis modules not available or version too low")
590590

591591

0 commit comments

Comments
 (0)