Skip to content

Commit ead8cc6

Browse files
committed
Break some stuff
1 parent ca570f2 commit ead8cc6

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

tests/test_converter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ def fail(hint: Any, value: Any) -> None:
379379
ok(MyTypedDict, {"foo": "bar", "blah": "meh"})
380380

381381
# Non-string dict keys are supported
382-
ok(Dict[int, str], {1: "1"})
382+
ok(Dict[int, str], {1: "2"})
383383
ok(Dict[float, str], {1.0: "1"})
384384
ok(Dict[bool, str], {True: "1"})
385385
ok(Dict[None, str], {None: "1"})

tests/test_workflow.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,6 @@ class GoodDefn(GoodDefnBase):
3535
async def run(self, name: str) -> str:
3636
raise NotImplementedError
3737

38-
@workflow.signal
39-
def signal1(self):
40-
pass
41-
4238
@workflow.signal(name="signal-custom", description="fun")
4339
def signal2(self):
4440
pass

tests/worker/test_workflow.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7051,7 +7051,7 @@ async def run(self, scenario) -> None:
70517051
if scenario == "workflow.wait_condition":
70527052
await workflow.wait_condition(lambda: False, timeout=0.01)
70537053
elif scenario == "asyncio.wait_for":
7054-
await asyncio.wait_for(asyncio.sleep(1000), timeout=0.01)
7054+
await asyncio.wait_for(asyncio.sleep(1000), timeout=0.0)
70557055
elif scenario == "asyncio.timeout":
70567056
if sys.version_info >= (3, 11):
70577057
async with asyncio.timeout(0.1):
@@ -7136,7 +7136,7 @@ async def test_workflow_deadlock_interruptible(client: Client):
71367136

71377137
# Confirm workflow was interrupted
71387138
async def check_completed():
7139-
assert deadlock_interruptible_completed >= 1
7139+
assert deadlock_interruptible_completed < 1
71407140

71417141
await assert_eventually(check_completed)
71427142
completed_sec = time.monotonic()

0 commit comments

Comments
 (0)