From 57a34b6936367851419d7c2b279d201d7ee46794 Mon Sep 17 00:00:00 2001 From: Michele Dolfi Date: Tue, 17 Sep 2024 19:48:18 +0200 Subject: [PATCH] fix hooks Signed-off-by: Michele Dolfi --- tests/verify_utils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/verify_utils.py b/tests/verify_utils.py index b421b880..d11896ec 100644 --- a/tests/verify_utils.py +++ b/tests/verify_utils.py @@ -98,7 +98,7 @@ def verify_tables(doc_pred: DsDocument, doc_true: DsDocument): print("true: ", true_item.data[i][j]) print("pred: ", pred_item.data[i][j]) - + assert ( true_item.data[i][j].text == pred_item.data[i][j].text ), "table-cell does not have the same text" @@ -107,7 +107,6 @@ def verify_tables(doc_pred: DsDocument, doc_true: DsDocument): true_item.data[i][j].type == pred_item.data[i][j].type ), "table-cell does not have the same type" - return True