Fix loglevel in subactor test; actually pass the level XD

signint_saviour
Tyler Goodlet 2022-07-11 08:26:19 -04:00
parent 19fb77f698
commit 64909e676e
1 changed files with 1 additions and 1 deletions

View File

@ -150,13 +150,13 @@ def test_loglevel_propagated_to_subactor(
async def main(): async def main():
async with tractor.open_nursery( async with tractor.open_nursery(
name='arbiter', name='arbiter',
loglevel=level,
start_method=start_method, start_method=start_method,
arbiter_addr=arb_addr, arbiter_addr=arb_addr,
) as tn: ) as tn:
await tn.run_in_actor( await tn.run_in_actor(
check_loglevel, check_loglevel,
loglevel=level,
level=level, level=level,
) )