Comment #1 on issue 1874 by ondrej.certik: mpmath plot tests fail on buildbots
http://code.google.com/p/sympy/issues/detail?id=1874

This patch should fix it:

diff --git a/sympy/mpmath/tests/test_visualization.py b/sympy/mpmath/tests/test_
index 31c4f7d..7ecfb7e 100644
--- a/sympy/mpmath/tests/test_visualization.py
+++ b/sympy/mpmath/tests/test_visualization.py
@@ -12,7 +12,12 @@ def test_axes():
     except ImportError:
         print "\nSkipping test (pylab not available)\n"
         return
-    fig = pylab.figure()
+    from Tkinter import TclError
+    try:
+        fig = pylab.figure()
+    except TclError:
+        print "\nSkipping test (Tcl problem)\n"
+        return
     axes = fig.add_subplot(111)
     for ctx in [mp, fp]:
         ctx.plot(lambda x: x**2, [0, 3], axes=axes)


--
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