Skip to content

Commit

Permalink
Fix dataset item tests (#1360)
Browse files Browse the repository at this point in the history
  • Loading branch information
sovrasov committed Nov 14, 2022
1 parent b454b69 commit 8939937
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ote_sdk/ote_sdk/tests/entities/test_dataset_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ def test_dataset_item_get_annotations(self):
partial_box_dataset_item.roi = Annotation(
shape=Rectangle(x1=0.0, y1=0.0, x2=0.4, y2=0.5), labels=[]
)
expected_annotation = first_annotation
expected_annotation = deepcopy(first_annotation)
expected_annotation.shape = expected_annotation.shape.denormalize_wrt_roi_shape(
roi_shape=partial_box_dataset_item.roi.shape
)
Expand Down

0 comments on commit 8939937

Please sign in to comment.