diff --git a/tests/test_finance.py b/tests/test_finance.py index 5d9eabca7..3dd32c8bd 100644 --- a/tests/test_finance.py +++ b/tests/test_finance.py @@ -253,7 +253,7 @@ def transaction_sim(self, **params): oo = blotter.open_orders self.assertEqual(len(oo), 1) self.assertTrue(sid in oo) - order_list = oo[sid] + order_list = oo[sid][:] # make copy self.assertEqual(order_count, len(order_list)) for i in range(order_count):