Skip to content

Commit 07d634f

Browse files
author
Diego Ardila
committed
fix test that depended on buggy backend behavior
1 parent 4c9f544 commit 07d634f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/test_prediction.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -282,8 +282,6 @@ def test_mixed_pred_upload_async(model_run: ModelRun):
282282
asynchronous=True,
283283
)
284284
job.sleep_until_complete()
285-
print(job.status())
286-
print(job.errors())
287285

288286
assert job.status() == {
289287
"job_id": job.id,
@@ -328,7 +326,7 @@ def test_mixed_pred_upload_async_with_error(model_run: ModelRun):
328326
"annotation_upload": {
329327
"epoch": 1,
330328
"total": 2,
331-
"errored": 0,
329+
"errored": 1,
332330
"ignored": 0,
333331
"datasetId": model_run._dataset_id,
334332
"processed": 1,

0 commit comments

Comments
 (0)