It works in Python 2.6.  Something in Python 2.7 broke it:

________________________________ xpassed tests _________________________________
sympy/simplify/tests/test_sqrtdenest.py:'XPASS: test_sqrtdenest2'

Aaron Meurer

On Apr 29, 2011, at 12:52 PM, Aaron S. Meurer wrote:

> The tests are supposed to print the names of the functions after the colons in
> 
> ________________________________ xpassed tests 
> _________________________________
> sympy/solvers/tests/test_ode.py:
> sympy/solvers/tests/test_ode.py:
> sympy/solvers/tests/test_ode.py:
> 
> But it is broken somehow.
> 
> Anyway, you could just run the tests with the -v option to see what function 
> is doing it.
> 
> Aaron Meurer
> 
> On Apr 29, 2011, at 9:55 AM, Vinzent Steinberg wrote:
> 
>> On Apr 29, 10:29 am, smichr <smi...@gmail.com> wrote:
>>> Right now I am getting 3 Xpassing tests. Something that might be nice
>>> to include after the test is a little "flare" that would indicate
>>> where the test is more precisely than in a given file, like
>>> 
>>>    @XFAIL
>>>    def test_fail1():
>>>        assert foo is True
>>>        print 'fail1 passed'
>>> 
>>> If I've understood correctly, that 'fail1 passed' won't be printed
>>> unless the assertion passes. But then on different systems, tests that
>>> are not universally pasing will clutter up the output. Is there any
>>> other way to have the test identify itself?
>> 
>> The test runner needs to be improved to do this. I think two ODE tests
>> are passing since a fix to heurisch() in polys12.
>> 
>> Vinzent
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "sympy" group.
>> To post to this group, send email to sympy@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> sympy+unsubscr...@googlegroups.com.
>> For more options, visit this group at 
>> http://groups.google.com/group/sympy?hl=en.
>> 
> 

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

Reply via email to