On Fri, Apr 29, 2011 at 1:29 AM, smichr <[email protected]> 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 knows which test xpassed, so it should print it. I
wanted to give some example, but for some reason, pastehtml seems down
at the moment:

http://pastehtml.com/view/1ea4z9x.html

so maybe it wasn't such a good idea to use it.

Ondrej

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" 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?hl=en.

Reply via email to