Arbiter now supports non-empty statespace

asyncgen_closing_fix
Tyler Goodlet 2018-06-27 11:45:21 -04:00
parent fa6f8185b6
commit 82f22b76e5
1 changed files with 1 additions and 2 deletions

View File

@ -60,8 +60,7 @@ async def spawn(is_arbiter):
assert actor.is_arbiter == is_arbiter
# arbiter should always have an empty statespace as it's redundant
sp_shouldbe = statespace if not is_arbiter else {}
assert actor.statespace == sp_shouldbe
assert actor.statespace == statespace
if actor.is_arbiter:
async with tractor.open_nursery() as nursery: