summaryrefslogtreecommitdiff
path: root/numpy/polynomial/tests/test_chebyshev.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2011-03-14 10:22:02 -0600
committerCharles Harris <charlesr.harris@gmail.com>2011-03-14 10:22:02 -0600
commitcd97607e2f14ac5489215549cb7ff7123394386f (patch)
tree94e311b36e16ca676b07540ed87d34b8439e7550 /numpy/polynomial/tests/test_chebyshev.py
parent782ba88d601ffe0f2f8373b01279d362d402de8b (diff)
parentc2e4c9c034a3446de643fb4f8e96d21249abb7b9 (diff)
downloadnumpy-cd97607e2f14ac5489215549cb7ff7123394386f.tar.gz
Merge branch 'poly'
Diffstat (limited to 'numpy/polynomial/tests/test_chebyshev.py')
-rw-r--r--numpy/polynomial/tests/test_chebyshev.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/numpy/polynomial/tests/test_chebyshev.py b/numpy/polynomial/tests/test_chebyshev.py
index 65bb877f4..21e4728bf 100644
--- a/numpy/polynomial/tests/test_chebyshev.py
+++ b/numpy/polynomial/tests/test_chebyshev.py
@@ -462,7 +462,7 @@ class TestChebyshevClass(TestCase) :
def test_degree(self) :
assert_equal(self.p1.degree(), 2)
- def test_trimdeg(self) :
+ def test_cutdeg(self) :
assert_raises(ValueError, self.p1.cutdeg, .5)
assert_raises(ValueError, self.p1.cutdeg, -1)
assert_equal(len(self.p1.cutdeg(3)), 3)
@@ -564,3 +564,7 @@ class TestChebyshevClass(TestCase) :
assert_almost_equal(p(x), x)
p = ch.Chebyshev.identity([1,3])
assert_almost_equal(p(x), x)
+#
+
+if __name__ == "__main__":
+ run_module_suite()