summaryrefslogtreecommitdiff
path: root/numpy/polynomial/tests/test_polyutils.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2017-07-17 19:25:17 -0600
committerCharles Harris <charlesr.harris@gmail.com>2017-07-24 13:00:29 -0600
commit0133638d80078920a18ad6b04093314e88ba382a (patch)
treefc82d3d9e602d18609895dc2c0144850e8cf1cb0 /numpy/polynomial/tests/test_polyutils.py
parentd51030ad61fe449752e4330eadf6cb25fbee2f2a (diff)
downloadnumpy-0133638d80078920a18ad6b04093314e88ba382a.tar.gz
TST: Remove unittest dependencies in numpy/polynomial/tests.
Diffstat (limited to 'numpy/polynomial/tests/test_polyutils.py')
-rw-r--r--numpy/polynomial/tests/test_polyutils.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/numpy/polynomial/tests/test_polyutils.py b/numpy/polynomial/tests/test_polyutils.py
index 974e2e09a..bd1cb2008 100644
--- a/numpy/polynomial/tests/test_polyutils.py
+++ b/numpy/polynomial/tests/test_polyutils.py
@@ -6,11 +6,12 @@ from __future__ import division, absolute_import, print_function
import numpy as np
import numpy.polynomial.polyutils as pu
from numpy.testing import (
- TestCase, assert_almost_equal, assert_raises,
- assert_equal, assert_, run_module_suite)
+ assert_almost_equal, assert_raises, assert_equal, assert_,
+ run_module_suite
+ )
-class TestMisc(TestCase):
+class TestMisc(object):
def test_trimseq(self):
for i in range(5):
@@ -43,7 +44,7 @@ class TestMisc(TestCase):
assert_equal(pu.trimcoef(coef, 2), [0])
-class TestDomain(TestCase):
+class TestDomain(object):
def test_getdomain(self):
# test for real values