+1

On Sun, Jun 13, 2010 at 2:17 AM, Øyvind Jensen <jensen.oyv...@gmail.com> wrote:
> ---
>  sympy/mpmath/tests/test_visualization.py |    8 ++++++--
>  1 files changed, 6 insertions(+), 2 deletions(-)
>
> diff --git a/sympy/mpmath/tests/test_visualization.py 
> b/sympy/mpmath/tests/test_visualization.py
> index 7ecfb7e..43d258c 100644
> --- a/sympy/mpmath/tests/test_visualization.py
> +++ b/sympy/mpmath/tests/test_visualization.py
> @@ -21,8 +21,12 @@ def test_axes():
>     axes = fig.add_subplot(111)
>     for ctx in [mp, fp]:
>         ctx.plot(lambda x: x**2, [0, 3], axes=axes)
> -        assert axes.get_xlabel() == 'x'
> -        assert axes.get_ylabel() == 'f(x)'
> +        try:
> +            assert axes.get_xlabel() == 'x'
> +            assert axes.get_ylabel() == 'f(x)'
> +        except AttributeError:
> +            print "\nSkipping test (pylab problem)\n"
> +            return
>
>     fig = pylab.figure()
>     axes = fig.add_subplot(111)
> --
> 1.6.5
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sympy-patches" group.
> To post to this group, send email to sympy-patc...@googlegroups.com.
> To unsubscribe from this group, send email to 
> sympy-patches+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/sympy-patches?hl=en.
>
>

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

Reply via email to