Joachim Durchholz
unread,Jun 9, 2015, 9:44:45 AM6/9/15Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sy...@googlegroups.com
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?