We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4ec430 commit 0dd0018Copy full SHA for 0dd0018
test/test_docling_doc.py
@@ -1759,6 +1759,12 @@ def test_rich_tables(rich_table_doc):
1759
1760
1761
def test_doc_manipulation_with_rich_tables(rich_table_doc):
1762
+ rich_table = rich_table_doc.tables[0]
1763
+ extracted_doc = rich_table_doc.extract_items_range(start=rich_table, end=rich_table)
1764
+ extracted_md = extracted_doc.export_to_markdown()
1765
+ assert len(extracted_md) > 0
1766
+ assert len(extracted_doc.tables) == 2
1767
+
1768
rich_table_doc.delete_items(node_items=[rich_table_doc.texts[0]])
1769
1770
exp_file = Path("test/data/doc/rich_table_post_text_del.out.yaml")
0 commit comments