Test failures in sympy master

13 views
Skip to first unread message

Tomo Lazovich

unread,
Mar 23, 2011, 9:38:53 PM3/23/11
to sy...@googlegroups.com
Hello everyone,

I just forked the git repository for the first time and ran "setup.py test" in order to make sure everything was working fine on my system before I started changing things. Unfortunately, I seem to have gotten a couple of errors that I do not quite understand, and I was hoping that someone on the list could help me. These tests are run with Python 2.5.2. Note that I haven't actually changed anything yet...this is just me trying to test my forked version of the master.

________________________________ xpassed tests _________________________________
sympy/simplify/tests/test_sqrtdenest.py:

________________________________________________________________________________
__________ /home/lazovich/sympy/sympy/utilities/tests/test_codegen.py __________
  File "/home/lazovich/sympy/sympy/utilities/tests/test_codegen.py", line 1063
    except CodeGenError as e:
                         ^
SyntaxError: invalid syntax

________________________________________________________________________________
______________ sympy/solvers/tests/test_solvers.py:test_tsolve_1 _______________
  File "/home/lazovich/sympy/sympy/solvers/tests/test_solvers.py", line 231, in test_tsolve_1
    [-((4*log(7) + 5*LambertW(-7*2**Rational(4,5)*6**Rational(1,5)*log(7)/10))/(3*log(7)))]]
AssertionError


Any help is greatly appreciated! Thanks!

Tomo Lazovich

Ronan Lamy

unread,
Mar 23, 2011, 10:07:52 PM3/23/11
to sy...@googlegroups.com
Le mercredi 23 mars 2011 à 21:38 -0400, Tomo Lazovich a écrit :
> Hello everyone,
>
> I just forked the git repository for the first time and ran "setup.py
> test" in order to make sure everything was working fine on my system
> before I started changing things. Unfortunately, I seem to have gotten
> a couple of errors that I do not quite understand, and I was hoping
> that someone on the list could help me. These tests are run with
> Python 2.5.2. Note that I haven't actually changed anything yet...this
> is just me trying to test my forked version of the master.

You don't have any actual problems. We've just been remiss in our
testing of different platforms and Python versions. We really need to
get buildbot or similar back up again.
Please ignore these errors for now.

>
> ________________________________ xpassed tests
> _________________________________
> sympy/simplify/tests/test_sqrtdenest.py:
>

This says that a test that's known to fail in some cases passes for you.

> ________________________________________________________________________________
> __________ /home/lazovich/sympy/sympy/utilities/tests/test_codegen.py
> __________
> File "/home/lazovich/sympy/sympy/utilities/tests/test_codegen.py",
> line 1063
> except CodeGenError as e:
> ^
> SyntaxError: invalid syntax

This is a bug in the test file. That syntax is only valid starting from
2.6, but we want to support 2.4+.

>
> ________________________________________________________________________________
> ______________ sympy/solvers/tests/test_solvers.py:test_tsolve_1
> _______________
> File "/home/lazovich/sympy/sympy/solvers/tests/test_solvers.py",
> line 231, in test_tsolve_1
> [-((4*log(7) +
> 5*LambertW(-7*2**Rational(4,5)*6**Rational(1,5)*log(7)/10))/(3*log(7)))]]
> AssertionError
>

Actually, I just reported that one:
http://code.google.com/p/sympy/issues/detail?id=2226

>
> Any help is greatly appreciated! Thanks!
>
> Tomo Lazovich
>
>
>

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


Reply all
Reply to author
Forward
0 new messages