mirror of
https://github.com/wassname/catalyst.git
synced 2026-10-30 13:10:53 +08:00
MAINT: Pass float to np.full explicitly.
This commit is contained in:
1 parent
434d7c69d3
commit
259f10a2d9
1 file changed
+1
-1
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user