Skip to content

Commit ef3a6de

Browse files
committed
NDJson -> Json
1 parent f12e47f commit ef3a6de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration/annotation_import/test_upsert_prediction_import.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ def test_create_from_url(client, tmp_path, object_predictions,
1515
configured_project_without_data_rows,
1616
annotation_import_test_helpers):
1717
name = str(uuid.uuid4())
18-
file_name = f"{name}.ndjson"
18+
file_name = f"{name}.json"
1919
file_path = tmp_path / file_name
2020
with file_path.open("w") as f:
2121
ndjson.dump(object_predictions, f)
2222

23-
with open(file_path, "rb") as f:
23+
with open(file_path, "r") as f:
2424
url = client.upload_data(content=f.read(),
2525
filename=file_name,
2626
sign=True,

0 commit comments

Comments
 (0)