details:   http://hg.sympy.org/sympy/rev/f9cae3275c3f
changeset: 1772:f9cae3275c3f
user:      Ondrej Certik <[EMAIL PROTECTED]>
date:      Wed Oct 08 17:36:02 2008 +0200
description:
Use explicit import in test_solvers.py.

Not only is this bad habit, but it was even causing

$ py.test test_solvers.py

to execute sympy.test_core(), because it was automatically imported by "from
sympy import *".

Signed-off-by: Ondrej Certik <[EMAIL PROTECTED]>
Signed-off-by: Riccardo Gori <[EMAIL PROTECTED]>

diffs (18 lines):

diff -r 40674cde7965 -r f9cae3275c3f sympy/solvers/tests/test_solvers.py
--- a/sympy/solvers/tests/test_solvers.py       Wed Oct 08 17:36:02 2008 +0200
+++ b/sympy/solvers/tests/test_solvers.py       Wed Oct 08 17:36:02 2008 +0200
@@ -1,10 +1,10 @@
-from sympy import *
-from sympy.utilities.pytest import XFAIL
-
-from sympy.matrices import Matrix
+from sympy import Matrix, Symbol, solve, exp, log, cos, acos, Rational, Eq, \
+        sqrt, oo, LambertW, pi, I, sin, asin, Function, diff, Derivative, \
+        symbols, S
 from sympy.solvers import solve_linear_system, solve_linear_system_LU,dsolve,\
      tsolve, deriv_degree
 
+from sympy.utilities.pytest import XFAIL
 import py
 
 def test_solve():

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sympy-commits" group.
To post to this group, send email to sympy-commits@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sympy-commits?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to