Skip to content

Commit 68ec7dd

Browse files
author
Claire Pajot
committed
Remove print statements
1 parent 91ced6f commit 68ec7dd

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

tests/test_annotation.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ def dataset(CLIENT):
8484
def test_box_gt_upload(dataset):
8585
annotation = BoxAnnotation(**TEST_BOX_ANNOTATIONS[0])
8686
response = dataset.annotate(annotations=[annotation])
87-
print(response)
8887

8988
assert response["dataset_id"] == dataset.id
9089
assert response["annotations_processed"] == 1
@@ -148,12 +147,11 @@ def test_multicategory_gt_upload(dataset):
148147
assert response["dataset_id"] == dataset.id
149148
assert response["annotations_processed"] == 1
150149
assert response["annotations_ignored"] == 0
151-
print("HERE")
150+
152151
response = dataset.refloc(annotation.reference_id)["annotations"][
153152
"multicategory"
154153
]
155-
print("RESPONSE: ", response)
156-
# TODO: Weirdness here also in the response from refloc?
154+
157155
assert len(response) == 1
158156
response_annotation = response[0]
159157
assert_multicategory_annotation_matches_dict(
@@ -240,7 +238,7 @@ def test_mixed_annotation_upload(dataset):
240238
response_annotations = dataset.refloc(bbox_annotations[0].reference_id)[
241239
"annotations"
242240
]
243-
print(response_annotations)
241+
244242
assert len(response_annotations) == 2
245243
assert len(response_annotations["box"]) == 1
246244
assert "segmentation" in response_annotations

0 commit comments

Comments
 (0)