Skip to content

Commit 46dc784

Browse files
committed
Fix annotation download test
1 parent 193ebaa commit 46dc784

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_single_annotation_download.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ def test_annotation_download_upload(
6262

6363
json1 = json.load(open(input_annotation_paths[0]))
6464
json2 = json.load(open(anns_json_in_folder[0]))
65-
for i in json1:
65+
for i in json1["instances"]:
6666
i.pop("classId", None)
67-
for i in json2:
67+
for i in json2["instances"]:
6868
i.pop("classId", None)
6969
assert json1 == json2
7070
if project_type == "Pixel":

0 commit comments

Comments
 (0)