Skip to content

Commit 18129a8

Browse files
committed
Delete unused
1 parent 5050a1a commit 18129a8

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

tests/worker/test_update_with_start.py

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from contextlib import contextmanager
55
from datetime import timedelta
66
from enum import Enum
7-
from typing import Any, Iterator, NoReturn
7+
from typing import Any, Iterator
88
from unittest.mock import patch
99

1010
import pytest
@@ -360,17 +360,6 @@ def make_start_op(workflow_id: str):
360360
assert (await start_op_4.workflow_handle()).first_execution_run_id is not None
361361

362362

363-
@workflow.defn
364-
class NeverExecutedWorkflow:
365-
@workflow.run
366-
async def run(self) -> NoReturn:
367-
raise NotImplementedError("This is never executed")
368-
369-
@workflow.update
370-
async def do_update(self) -> NoReturn:
371-
raise NotImplementedError("This is never executed")
372-
373-
374363
async def test_update_with_start_failure_start_workflow_error(client: Client):
375364
"""
376365
When the workflow start fails, the update_with_start_call should raise the appropriate

0 commit comments

Comments
 (0)