From 82f22b76e5ecc6df2f5efa73eff32af30d6b2532 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 6abb70f..a60265e 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: