From db2d4b5fe5e2325ac9d21fba27825c74eff8384f Mon Sep 17 00:00:00 2001 From: Charles Harris Date: Sat, 28 Nov 2009 19:43:32 +0000 Subject: Small cleanups in polynomial modules. --- numpy/polynomial/tests/test_chebyshev.py | 2 +- numpy/polynomial/tests/test_polynomial.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'numpy/polynomial/tests') diff --git a/numpy/polynomial/tests/test_chebyshev.py b/numpy/polynomial/tests/test_chebyshev.py index 969125ff3..793458096 100644 --- a/numpy/polynomial/tests/test_chebyshev.py +++ b/numpy/polynomial/tests/test_chebyshev.py @@ -105,7 +105,7 @@ class TestArithmetic(TestCase) : return x*(x**2 - 1) #check empty input - assert_equal(ch.chebval([], 1).size, 0) + assert_equal(ch.chebval([], [1]).size, 0) #check normal input) for i in range(5) : diff --git a/numpy/polynomial/tests/test_polynomial.py b/numpy/polynomial/tests/test_polynomial.py index 1e63cc86d..d4baaea8a 100644 --- a/numpy/polynomial/tests/test_polynomial.py +++ b/numpy/polynomial/tests/test_polynomial.py @@ -97,7 +97,7 @@ class TestArithmetic(TestCase) : return x*(x**2 - 1) #check empty input - assert_equal(poly.polyval([], 1).size, 0) + assert_equal(poly.polyval([], [1]).size, 0) #check normal input) x = np.linspace(-1,1) -- cgit v1.2.1