From a39a6e1bbffc1919c3c582df73bd9a1560dc9b01 Mon Sep 17 00:00:00 2001 From: Scott Sanderson Date: Wed, 20 Jul 2016 19:57:47 -0400 Subject: [PATCH] MAINT: Pass float to np.full explicitly. --- tests/test_algorithm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_algorithm.py b/tests/test_algorithm.py index ed6aa677..4bb8647c 100644 --- a/tests/test_algorithm.py +++ b/tests/test_algorithm.py @@ -3476,7 +3476,7 @@ class TestOrderCancelation(WithDataPortal, 'high': minutes_arr + 2, 'low': minutes_arr - 1, 'close': minutes_arr, - 'volume': np.full(minutes_count, 1), + 'volume': np.full(minutes_count, 1.0), }, index=asset_minutes, )