From dc5dca7d31f9fae7edcaf45edd11d1cac8c40646 Mon Sep 17 00:00:00 2001 From: Cesar Berrospi Ramis <75900930+ceberam@users.noreply.github.com> Date: Fri, 18 Jul 2025 14:14:02 +0200 Subject: [PATCH] tests(HTML): re-enable test_ordered_lists Re-enable test_ordered_lists regression test for the HTML backend since docling-core now supports ordered lists with custom start value. Signed-off-by: Cesar Berrospi Ramis <75900930+ceberam@users.noreply.github.com> --- docling/backend/html_backend.py | 1 - tests/test_backend_html.py | 6 ------ 2 files changed, 7 deletions(-) diff --git a/docling/backend/html_backend.py b/docling/backend/html_backend.py index 647636e7..1d3f5712 100644 --- a/docling/backend/html_backend.py +++ b/docling/backend/html_backend.py @@ -14,7 +14,6 @@ from docling_core.types.doc import ( DocumentOrigin, GroupItem, GroupLabel, - ListItem, TableCell, TableData, TextItem, diff --git a/tests/test_backend_html.py b/tests/test_backend_html.py index d55b01df..014f4c4c 100644 --- a/tests/test_backend_html.py +++ b/tests/test_backend_html.py @@ -1,8 +1,6 @@ from io import BytesIO from pathlib import Path -import pytest - from docling.backend.html_backend import HTMLDocumentBackend from docling.datamodel.base_models import InputFormat from docling.datamodel.document import ( @@ -46,10 +44,6 @@ def test_heading_levels(): assert found_lvl_1 and found_lvl_2 -@pytest.mark.skip( - "Temporarily disabled since docling-core>=2.21.0 does not support ordered lists " - "with custom start value" -) def test_ordered_lists(): test_set: list[tuple[bytes, str]] = []