mirror of
https://github.com/Unstructured-IO/unstructured.git
synced 2025-06-27 02:30:08 +00:00
clean comment
This commit is contained in:
parent
d3987fc226
commit
8dfe156876
@ -1283,7 +1283,6 @@ def test_partition_docx_skips_malformed_row_cells():
|
||||
"""Test that partition_docx does not crash on a DOCX with malformed/merged table rows."""
|
||||
elements = partition_docx(example_doc_path("grid_offset_error.docx"))
|
||||
|
||||
# Ensure no crash and output looks valid
|
||||
assert isinstance(elements, list)
|
||||
assert all(hasattr(el, "text") for el in elements)
|
||||
assert any(el.text.strip() for el in elements), "Expected some non-empty extracted text"
|
||||
|
Loading…
x
Reference in New Issue
Block a user