Arbiter now supports non-empty statespace

kivy_mainline_and_py3.8
Tyler Goodlet 2018-06-27 11:45:21 -04:00
parent 266518a734
commit f32ecb3d65
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: