Skip to content

Commit

Permalink
Fix dataset item tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sovrasov committed Nov 11, 2022
1 parent 9ee5abd commit 7f979e3
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 7f979e3

Please sign in to comment.