Yes, I also got this error. I think if matplotlib or something similar is 
not installed, the test is not run and that may be why this error does not 
appear on Travis (although I have no idea what Travis is).

Le mardi 9 juin 2015 09:49:24 UTC-4, Sudhanshu Mishra a écrit :
>
> Same here.
>
> Sudhanshu Mishra
>
> On Tue, Jun 9, 2015 at 7:14 PM, Joachim Durchholz <[email protected] 
> <javascript:>> wrote:
>
>> 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 [email protected] <javascript:>.
>> To post to this group, send email to [email protected] <javascript:>
>> .
>> 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.
>>
>
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
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/94a588ac-2e00-4e9c-89a3-1c5f53451ad0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to