From f32ecb3d65d151bcd3bff928a41d8f0917d819ec Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Wed, 27 Jun 2018 11:45:21 -0400 Subject: [PATCH] Arbiter now supports non-empty statespace --- tests/test_tractor.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/test_tractor.py b/tests/test_tractor.py index 6abb70f6..a60265e7 100644 --- a/tests/test_tractor.py +++ b/tests/test_tractor.py @@ -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: