From be30c0072d287ea1556e14f022dccd04ecdebdec Mon Sep 17 00:00:00 2001 From: Scott Sanderson Date: Wed, 13 Jul 2016 16:31:06 -0400 Subject: [PATCH] MAINT: Explicitly use float64 in test. --- tests/pipeline/test_technical.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/pipeline/test_technical.py b/tests/pipeline/test_technical.py index 505e1f38..a386f7f3 100644 --- a/tests/pipeline/test_technical.py +++ b/tests/pipeline/test_technical.py @@ -158,8 +158,8 @@ class TestFastStochasticOscillator(ZiplineTestCase): fso = FastStochasticOscillator() today = pd.Timestamp('2015') - assets = np.arange(3, dtype=np.float) - out = np.empty(shape=(3,), dtype=np.float) + assets = np.arange(3, dtype=np.float64) + out = np.empty(shape=(3,), dtype=np.float64) highs = np.full((50, 3), 3) lows = np.full((50, 3), 2)