diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2009-11-28 19:43:32 +0000 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2009-11-28 19:43:32 +0000 |
commit | db2d4b5fe5e2325ac9d21fba27825c74eff8384f (patch) | |
tree | 37408ba2690be745149b7a80270cf0cc0d9329b4 /numpy/polynomial/tests | |
parent | f9d1cd5265b013042b5909adf92ca5ea168aaee3 (diff) | |
download | numpy-db2d4b5fe5e2325ac9d21fba27825c74eff8384f.tar.gz |
Small cleanups in polynomial modules.
Diffstat (limited to 'numpy/polynomial/tests')
-rw-r--r-- | numpy/polynomial/tests/test_chebyshev.py | 2 | ||||
-rw-r--r-- | numpy/polynomial/tests/test_polynomial.py | 2 |
2 files changed, 2 insertions, 2 deletions
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) |