Skip to content

Commit 2e89896

Browse files
committed
tolerance setup for embedding values
1 parent 503ed90 commit 2e89896

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/article-relevance/test_relevance_prediction_parquet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def test_add_embeddings(tmp_path):
8080
ref_file_path = tmp_path / 'test_data' / 'addembedding_validfile.csv'
8181

8282
expected_df = pd.read_csv(ref_file_path, index_col=0)
83-
assert_frame_equal(output_df, expected_df, check_dtype=False)
83+
assert_frame_equal(output_df, expected_df, check_dtype=False, atol=0.01)
8484

8585

8686
def test_relevance_prediction(tmp_path):

0 commit comments

Comments
 (0)