[Scipy-svn] r6793 - trunk/scipy/maxentropy/tests
scipy-svn at scipy.org
scipy-svn at scipy.org
Sun Sep 12 17:21:43 EDT 2010
Author: warren.weckesser
Date: 2010-09-12 16:21:43 -0500 (Sun, 12 Sep 2010)
New Revision: 6793
Modified:
trunk/scipy/maxentropy/tests/test_maxentropy.py
Log:
TST: maxentropy: Don't use 'import *'.
Modified: trunk/scipy/maxentropy/tests/test_maxentropy.py
===================================================================
--- trunk/scipy/maxentropy/tests/test_maxentropy.py 2010-09-12 21:20:23 UTC (rev 6792)
+++ trunk/scipy/maxentropy/tests/test_maxentropy.py 2010-09-12 21:21:43 UTC (rev 6793)
@@ -6,9 +6,9 @@
Copyright: Ed Schofield, 2003-2005
"""
-from numpy.testing import *
+from numpy.testing import assert_almost_equal, TestCase, run_module_suite
from numpy import arange, log, exp, ones
-from scipy.maxentropy.maxentropy import *
+from scipy.maxentropy.maxentropy import logsumexp
class TestMaxentropy(TestCase):
"""Test whether logsumexp() function correctly handles large
@@ -29,10 +29,6 @@
desired = 10000.0 + log(n)
assert_almost_equal(logsumexp(b), desired)
- def test_simple(self):
- # Write me!
- pass
-
if __name__ == "__main__":
run_module_suite()
More information about the Scipy-svn
mailing list