Skip to content

Commit

Permalink
silly test
Browse files Browse the repository at this point in the history
  • Loading branch information
richardsheridan committed Jan 8, 2024
1 parent 1aa697e commit 628ead0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion trio_parallel/_proc.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,9 @@ async def wait_for_ack():
exitcode = await self.wait()
nursery.cancel_scope.cancel()
if exitcode is not None:
raise BrokenWorkerProcessError("Worker failed to start", self.proc)
def raiser():
raise BrokenWorkerProcessError("Worker failed to start", self.proc)
raiser()

async def run_sync(self, sync_fn: Callable, *args) -> Optional[Outcome]:
try:
Expand Down

0 comments on commit 628ead0

Please sign in to comment.