Skip to content

Commit

Permalink
Fix broken test in test_load
Browse files Browse the repository at this point in the history
The new context manager for the event loop
seems to be missing in `test_load_capnp`.
  • Loading branch information
tobiasah committed Oct 3, 2023
1 parent e13a0c9 commit e94b3b2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/test_load.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ async def wrapped(self, object, **kwargs):
baz_.text = "test"
baz_.qux.id = 2

wrapper = foo.Wrapper._new_client(Wrapper())
remote = wrapper.wrapped(baz_)
await remote
async with capnp.kj_loop():
wrapper = foo.Wrapper._new_client(Wrapper())
remote = wrapper.wrapped(baz_)
await remote

0 comments on commit e94b3b2

Please sign in to comment.