Skip to content

Commit 5ad9f2f

Browse files
author
Val Brodsky
committed
Remove incorrect test that is also flaky
1 parent c1a3ac2 commit 5ad9f2f

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

libs/labelbox/tests/integration/test_task.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -57,19 +57,3 @@ def test_task_success_json(dataset, image_url, snapshot):
5757
snapshot.assert_match(json.dumps(task_result),
5858
'test_task.test_task_success_json.json')
5959
assert len(task.result)
60-
61-
62-
@pytest.mark.export_v1("export_v1 test remove later")
63-
def test_task_success_label_export(client, configured_project_with_label):
64-
project, _, _, _ = configured_project_with_label
65-
# TODO: Move to export_v2
66-
project.export_labels()
67-
user = client.get_user()
68-
task = None
69-
for task in user.created_tasks():
70-
if task.name != 'JSON Import' and task.type != 'adv-upsert-data-rows' and task.type != 'mea-label-registration':
71-
break
72-
73-
with pytest.raises(ValueError) as exc_info:
74-
task.result
75-
assert str(exc_info.value).startswith("Task result is only supported for")

0 commit comments

Comments
 (0)