MAINT: Pass float to np.full explicitly.

This commit is contained in:
Scott Sanderson
2016-07-18 12:33:50 -04:00
parent 40ef039e46
commit 989d21514c
+1 -1
View File
@@ -168,7 +168,7 @@ class TestFastStochasticOscillator(ZiplineTestCase):
fso.compute(today, assets, out, closes, lows, highs)
# Expected %K
assert_equal(out, np.full((3,), 200))
assert_equal(out, np.full((3,), 200, dtype=np.float64))
@parameter_space(seed=range(5))
def test_fso_expected_with_talib(self, seed):