Skip to content

Commit bc8b5aa

Browse files
committed
small addition to slicing test
1 parent 53e496b commit bc8b5aa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test_unstructured_inference/test_elements.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -568,6 +568,7 @@ def test_textregions_slice_preserves_sources():
568568
# This should fail because slice() doesn't handle sources
569569
assert sliced.sources.size > 0, "Sliced TextRegions should have sources"
570570
assert sliced.sources[0] == Source.YOLOX
571+
assert sliced.is_extracted_array[0] is IsExtracted.TRUE
571572

572573

573574
def test_textregions_post_init_handles_sources():

0 commit comments

Comments
 (0)