From 92a8324bf622dfdb4f4a77dc2b504a5a5a967b88 Mon Sep 17 00:00:00 2001 From: Stephen Diehl Date: Wed, 29 Feb 2012 15:45:40 -0500 Subject: [PATCH] Join on all tests. --- zipline/test/test_messaging.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/zipline/test/test_messaging.py b/zipline/test/test_messaging.py index b7027805..9d3d16d9 100644 --- a/zipline/test/test_messaging.py +++ b/zipline/test/test_messaging.py @@ -156,7 +156,8 @@ class SimulatorTestCase(object): # Simulation # ---------- - sim.simulate() + sim_context = sim.simulate() + sim_context.join() # Stop Running # ------------ @@ -200,7 +201,8 @@ class SimulatorTestCase(object): # Simulation # ---------- - sim.simulate() + sim_context = sim.simulate() + sim_context.join() # Stop Running # ------------ @@ -245,7 +247,8 @@ class SimulatorTestCase(object): # Simulation # ---------- - sim.simulate() + sim_context = sim.simulate() + sim_context.join() # Stop Running # ------------