From d3a5cb1d8c984a9d2101c84ed3e03c9f937b109c Mon Sep 17 00:00:00 2001 From: richardsheridan Date: Sat, 2 Sep 2023 22:31:24 -0400 Subject: [PATCH] repair bad merge in _run.py --- trio/_core/_run.py | 1 + 1 file changed, 1 insertion(+) diff --git a/trio/_core/_run.py b/trio/_core/_run.py index fbda8e1615..c5c16803b0 100644 --- a/trio/_core/_run.py +++ b/trio/_core/_run.py @@ -1493,6 +1493,7 @@ class GuestState: unrolled_run_next_send: Outcome[Any] = attr.ib(factory=_value_factory) def guest_tick(self) -> None: + prev_library, sniffio_library.name = sniffio_library.name, "trio" try: timeout = self.unrolled_run_next_send.send(self.unrolled_run_gen) except StopIteration: