I'm getting a failure for matplotlib when running the test suite locally, but not on Travis. I'm not sure whether that's a bug in implicit_plot, or in the test suite, or whether I'm just missing an installation dependency.

Here's the trace:

$ bin/test test_plot_implicit -k test_matplotlib
========================= test process starts ==========================
executable: /home/jo/Projekte/sympy-workspace/python2.6.9/bin/python (2.6.9-final-0) [CPython]
architecture:       64-bit
cache:              yes
ground types:       gmpy 2.0.5
random seed:        62402309
hash randomization: on (PYTHONHASHSEED=3575870938)

sympy/plotting/tests/test_plot_implicit.py[1] E                  [FAIL]

________________________________________________________________________
______ sympy/plotting/tests/test_plot_implicit.py:test_matplotlib ______
File "/home/jo/Projekte/sympy-workspace/sympy-project/sympy/sympy/plotting/tests/test_plot_implicit.py", line 70, in test_matplotlib
    plot_and_save('test')
File "/home/jo/Projekte/sympy-workspace/sympy-project/sympy/sympy/plotting/tests/test_plot_implicit.py", line 22, in plot_and_save plot_implicit(Eq(y, cos(x)), (x, -5, 5), (y, -2, 2)).save(tmp_file(name))
  File "sympy/plotting/plot_implicit.py", line 375, in plot_implicit
    p.show()
  File "sympy/plotting/plot.py", line 185, in show
    self._backend.show()
  File "sympy/plotting/plot.py", line 1018, in show
    self.process_series()
  File "sympy/plotting/plot.py", line 921, in process_series
    points = s.get_raster()
  File "sympy/plotting/plot_implicit.py", line 81, in get_raster
    temp = func(xinterval, yinterval)
  File "<string>", line 1, in <lambda>
NameError: global name 'Eq' is not defined

===== tests finished: 0 passed, 1 exceptions, in 0.20 seconds ======
DO *NOT* COMMIT!

This is Python 2.6.9, with the following packages installed:

$ pip list
alabaster (0.7.2)
Babel (1.3)
docutils (0.12)
gmpy2 (2.0.5)
Jinja2 (2.7.3)
MarkupSafe (0.23)
matplotlib (1.4.3)
mock (1.0.1)
mpmath (0.19)
nose (1.3.6)
numpy (1.9.2)
pexpect (3.3)
pip (1.5.4)
Pygments (2.0.2)
pyparsing (2.0.3)
python-dateutil (2.4.2)
pytz (2014.10)
setuptools (2.2)
six (1.9.0)
snowballstemmer (1.2.0)
Sphinx (1.3)
sphinx-rtd-theme (0.1.7)
wsgiref (0.1.2)


Any thoughts?

--
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/5576EDC6.4060208%40durchholz.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to