Status: Accepted
Owner: ondrej.certik
Labels: Type-Defect Priority-Medium

New issue 1866 by ondrej.certik: sage tests in sympy fail
http://code.google.com/p/sympy/issues/detail?id=1866

MPMATH_NOSAGE=yes sage -python bin/test sympy/test_external/test_sage.py
============================= test process starts
==============================
executable:   /home/ondrej/ext/sage-4.3.3-linux-64bit-ubuntu_9.10-x86_64-
Linux/local/bin/python  (2.6.4-final-0)

sympy/test_external/test_sage.py[13] .E...........
[FAIL]

__________________________________________________________________________
______
________________ sympy/test_external/test_sage.py:test_complex
_________________
  File "/home/ondrej/repos/sympy/sympy/test_external/test_sage.py", line
61, in test_complex
    check_expression("I*y", "y")
  File "/home/ondrej/repos/sympy/sympy/test_external/test_sage.py", line
47, in check_expression
    assert sympy.sympify(e_sage) == e_sympy
  File "/home/ondrej/repos/sympy/sympy/core/sympify.py", line 86, in
sympify
    v = meth()
  File "expression.pyx", line 932, in
sage.symbolic.expression.Expression._sympy_
(sage/symbolic/expression.cpp:5466)
  File "/home/ondrej/ext/sage-4.3.3-linux-64bit-ubuntu_9.10-x86_64-
Linux/local/lib/python2.6/site-
packages/sage/symbolic/expression_conversions.py", line 214, in __call__
    return self.arithmetic(ex, operator)
  File "/home/ondrej/ext/sage-4.3.3-linux-64bit-ubuntu_9.10-x86_64-
Linux/local/lib/python2.6/site-
packages/sage/symbolic/expression_conversions.py", line 587, in arithmetic
    return sympy.Mul(*ops)
  File "/home/ondrej/repos/sympy/sympy/core/cache.py", line 85, in wrapper
    func_cache_it_cache[k] = r = func(*args, **kw_args)
  File "/home/ondrej/repos/sympy/sympy/core/operations.py", line 31, in
__new__
    c_part, nc_part, order_symbols = cls.flatten(map(_sympify, args))
  File "/home/ondrej/repos/sympy/sympy/core/sympify.py", line 185, in
_sympify
    raise SympifyError("%r is NOT a valid SymPy expression" % (a,))
SympifyError: SympifyError: I is NOT a valid SymPy expression

=========== tests finished: 12 passed, 1 exceptions, in 3.24 seconds
===========
DO *NOT* COMMIT!


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

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

Reply via email to