summaryrefslogtreecommitdiff
path: root/numpy/polynomial/tests/test_polyutils.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2014-07-29 22:35:28 -0600
committerCharles Harris <charlesr.harris@gmail.com>2014-07-29 22:58:58 -0600
commitf9c6398d4f021e9509e19157a0d5ee72b27a8c2a (patch)
tree4f84dc32377f8eed179692ab709e769836d70857 /numpy/polynomial/tests/test_polyutils.py
parent02f922b6e89ff6efe9c073249afb1f803a1dfa6e (diff)
downloadnumpy-f9c6398d4f021e9509e19157a0d5ee72b27a8c2a.tar.gz
MAINT: Fix blemishes in numpy/polynomial/tests revealed by pyflakes.
Diffstat (limited to 'numpy/polynomial/tests/test_polyutils.py')
-rw-r--r--numpy/polynomial/tests/test_polyutils.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/numpy/polynomial/tests/test_polyutils.py b/numpy/polynomial/tests/test_polyutils.py
index c77ee2435..974e2e09a 100644
--- a/numpy/polynomial/tests/test_polyutils.py
+++ b/numpy/polynomial/tests/test_polyutils.py
@@ -5,7 +5,9 @@ from __future__ import division, absolute_import, print_function
import numpy as np
import numpy.polynomial.polyutils as pu
-from numpy.testing import *
+from numpy.testing import (
+ TestCase, assert_almost_equal, assert_raises,
+ assert_equal, assert_, run_module_suite)
class TestMisc(TestCase):
@@ -101,3 +103,7 @@ class TestDomain(TestCase):
tgt = [-1 + 1j, 1 - 1j]
res = pu.mapparms(dom1, dom2)
assert_almost_equal(res, tgt)
+
+
+if __name__ == "__main__":
+ run_module_suite()