diff --git a/libs/checkpoint/tests/test_store.py b/libs/checkpoint/tests/test_store.py index 1bdfc0408..38473e59f 100644 --- a/libs/checkpoint/tests/test_store.py +++ b/libs/checkpoint/tests/test_store.py @@ -950,8 +950,8 @@ async def test_embed_with_path(fake_embeddings: CharacterEmbeddings) -> None: assert results[0].key != results[1].key ascore = results[0].score bscore = results[1].score - assert ascore == bscore assert ascore is not None and bscore is not None + assert ascore == pytest.approx(bscore, abs=1e-5) results = await store.asearch(("test",), query="uuu") assert len(results) == 2