Skip to content

Commit a881a28

Browse files
committed
fix warning
1 parent 6423d26 commit a881a28

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

trio_asyncio/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ def wrap_trio_context(self, ctx):
289289
return Trio_Asyncio_Wrapper(ctx, loop=self)
290290

291291
def run_trio(self, proc, *args):
292-
warnings.warn("Use 'await loop.trio_as_future(proc, *args)' instead'", DeprecationWarning)
292+
warnings.warn("Use 'await trio_as_aio(proc)(*args)' instead'", DeprecationWarning)
293293
return self.trio_as_future(proc, *args)
294294

295295
async def __run_trio(self, h):

0 commit comments

Comments
 (0)