@@ -1929,12 +1929,12 @@ def model_run_with_data_rows(
19291929 model_run_predictions ,
19301930 )
19311931 upload_task .wait_until_done ()
1932- assert (
1933- upload_task . state == AnnotationImportState . FINISHED
1934- ), "Label Import did not finish"
1935- assert (
1936- len ( upload_task .errors ) == 0
1937- ), f"Label Import { upload_task . name } failed with errors { upload_task . errors } "
1932+ assert upload_task . state == AnnotationImportState . FINISHED , (
1933+ "Label Import did not finish"
1934+ )
1935+ assert len ( upload_task . errors ) == 0 , (
1936+ f"Label Import { upload_task .name } failed with errors { upload_task . errors } "
1937+ )
19381938 labels = wait_for_label_processing (configured_project )
19391939 label_ids = [label .uid for label in labels ]
19401940 model_run .upsert_labels (label_ids )
@@ -1963,12 +1963,12 @@ def model_run_with_all_project_labels(
19631963 model_run_predictions ,
19641964 )
19651965 upload_task .wait_until_done ()
1966- assert (
1967- upload_task . state == AnnotationImportState . FINISHED
1968- ), "Label Import did not finish"
1969- assert (
1970- len ( upload_task .errors ) == 0
1971- ), f"Label Import { upload_task . name } failed with errors { upload_task . errors } "
1966+ assert upload_task . state == AnnotationImportState . FINISHED , (
1967+ "Label Import did not finish"
1968+ )
1969+ assert len ( upload_task . errors ) == 0 , (
1970+ f"Label Import { upload_task .name } failed with errors { upload_task . errors } "
1971+ )
19721972 labels = wait_for_label_processing (configured_project )
19731973 label_ids = [label .uid for label in labels ]
19741974 model_run .upsert_labels (label_ids )
0 commit comments