Status: Accepted
Owner: ----
Labels: Type-Defect Priority-Critical
New issue 3011 by [email protected]: Doctest failure in master
http://code.google.com/p/sympy/issues/detail?id=3011
sympy/physics/quantum/anticommutator.py[1] .
[OK]
Traceback (most recent call last):
File "./bin/doctest", line 54, in <module>
"blacklist": blacklist, "normal": options.normal})
File "/u/ameurer/sympy/sympy/utilities/runtests.py", line 307, in doctest
failed = not t.test()
File "/u/ameurer/sympy/sympy/utilities/runtests.py", line 702, in test
self.test_file(f)
File "/u/ameurer/sympy/sympy/utilities/runtests.py", line 725, in
test_file
module = pdoctest._normalize_module(module)
File "/usr/lib/python2.6/doctest.py", line 203, in _normalize_module
return __import__(module, globals(), locals(), ["*"])
File "/u/ameurer/sympy/sympy/physics/quantum/circuitplot.py", line 24, in
<module>
matplotlib = import_module('matplotlib',
__import__kwargs={'fromlist':['pyplot']})
File "/u/ameurer/sympy/sympy/external/importtools.py", line 115, in
import_module
mod = __import__(module, **__import__kwargs)
File "/usr/lib/python2.6/site-packages/matplotlib/pyplot.py", line 78, in
<module>
new_figure_manager, draw_if_interactive, show = pylab_setup()
File "/usr/lib/python2.6/site-packages/matplotlib/backends/__init__.py",
line 25, in pylab_setup
globals(),locals(),[backend_name])
File "/usr/lib/python2.6/site-packages/matplotlib/backends/backend_gtkagg.py",
line 10, in <module>
from matplotlib.backends.backend_gtk import gtk, FigureManagerGTK,
FigureCanvasGTK,\
File "/usr/lib/python2.6/site-packages/matplotlib/backends/backend_gtk.py",
line 8, in <module>
import gtk; gdk = gtk.gdk
File "/usr/lib/python2.6/site-packages/gtk-2.0/gtk/__init__.py", line 64,
in <module>
_init()
File "/usr/lib/python2.6/site-packages/gtk-2.0/gtk/__init__.py", line 52,
in _init
_gtk.init_check()
RuntimeError: could not open display
--
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.