From 04b0a72952e9f51219edcefba49229a7f19c11b9 Mon Sep 17 00:00:00 2001 From: QBatista Date: Wed, 7 Mar 2018 11:38:52 +1100 Subject: [PATCH] TEST: Update tests for changes in arguments --- quantecon/tests/test_discrete_rv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quantecon/tests/test_discrete_rv.py b/quantecon/tests/test_discrete_rv.py index 281bbd848..bc1a169eb 100644 --- a/quantecon/tests/test_discrete_rv.py +++ b/quantecon/tests/test_discrete_rv.py @@ -60,7 +60,7 @@ def test_draw_with_seed(self): x = np.array([0.03326189, 0.60713005, 0.84514831, 0.28493183, 0.12393182, 0.35308009, 0.70371579, 0.81728178, 0.21294538, 0.05358209]) - draws = DiscreteRV(x).draw(k=10, random_state=5) + draws = DiscreteRV(x).draw(k=10, seed=5) expected_output = np.array([1, 2, 1, 2, 1, 1, 2, 1, 1, 1])