Skip to content

Commit

Permalink
fix optional mypy thingy
Browse files Browse the repository at this point in the history
  • Loading branch information
erikh360 committed Feb 13, 2024
1 parent 137e400 commit 0a39654
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_workers.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class SlowSetupWorker(BaseWorker):
"""

async def setup(self):
self.s_exc, self.exc = open_memory_channel[Optional[Exception] | None](1)
self.s_exc, self.exc = open_memory_channel[Optional[Exception]](1)
await self.setup_receive_inbound_connector("ri", self.handle_in, self.handle_ev)
await sleep(0.1)
await self.setup_receive_outbound_connector("ro", self.handle_out)
Expand Down

0 comments on commit 0a39654

Please sign in to comment.