Log of matplotlib test run
longs[junk]> nosetests matplotlib | |
/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/__init__.py:923: UserWarning: This call to matplotlib.use() has no effect | |
because the the backend has already been chosen; | |
matplotlib.use() must be called *before* pylab, matplotlib.pyplot, | |
or matplotlib.backends is imported for the first time. | |
if warn: warnings.warn(_use_error_msg) | |
/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/font_manager.py:1210: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to Bitstream Vera Sans | |
(prop.get_family(), self.defaultFamily[fontext])) | |
/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/axes.py:1320: DeprecationWarning: use ax.patch instead | |
warnings.warn('use ax.patch instead', DeprecationWarning) | |
====================================================================== | |
ERROR: Failure: ValueError (line 19 of the docstring for matplotlib.artist.setp has inconsistent leading whitespace: ' ... long output listing omitted') | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib/pymodules/python2.7/nose/plugins/manager.py", line 149, in generate | |
for r in result: | |
File "/usr/lib/pymodules/python2.7/nose/plugins/doctests.py", line 206, in loadTestsFromModule | |
tests = self.finder.find(module) | |
File "/usr/lib/python2.7/doctest.py", line 865, in find | |
self._find(tests, obj, name, module, source_lines, globs, {}) | |
File "/usr/lib/python2.7/doctest.py", line 919, in _find | |
globs, seen) | |
File "/usr/lib/python2.7/doctest.py", line 907, in _find | |
test = self._get_test(obj, name, module, globs, source_lines) | |
File "/usr/lib/python2.7/doctest.py", line 991, in _get_test | |
filename, lineno) | |
File "/usr/lib/python2.7/doctest.py", line 610, in get_doctest | |
return DocTest(self.get_examples(string, name), globs, | |
File "/usr/lib/python2.7/doctest.py", line 624, in get_examples | |
return [x for x in self.parse(string, name) | |
File "/usr/lib/python2.7/doctest.py", line 586, in parse | |
self._parse_example(m, name, lineno) | |
File "/usr/lib/python2.7/doctest.py", line 645, in _parse_example | |
self._check_prefix(source_lines[1:], ' '*indent + '.', name, lineno) | |
File "/usr/lib/python2.7/doctest.py", line 742, in _check_prefix | |
(lineno+i+1, name, line)) | |
ValueError: line 19 of the docstring for matplotlib.artist.setp has inconsistent leading whitespace: ' ... long output listing omitted' | |
====================================================================== | |
ERROR: Failure: ValueError (line 13 of the docstring for matplotlib.axes.Axes.hold has inconsistent leading whitespace: '* turn hold on:') | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib/pymodules/python2.7/nose/plugins/manager.py", line 149, in generate | |
for r in result: | |
File "/usr/lib/pymodules/python2.7/nose/plugins/doctests.py", line 206, in loadTestsFromModule | |
tests = self.finder.find(module) | |
File "/usr/lib/python2.7/doctest.py", line 865, in find | |
self._find(tests, obj, name, module, source_lines, globs, {}) | |
File "/usr/lib/python2.7/doctest.py", line 919, in _find | |
globs, seen) | |
File "/usr/lib/python2.7/doctest.py", line 954, in _find | |
globs, seen) | |
File "/usr/lib/python2.7/doctest.py", line 907, in _find | |
test = self._get_test(obj, name, module, globs, source_lines) | |
File "/usr/lib/python2.7/doctest.py", line 991, in _get_test | |
filename, lineno) | |
File "/usr/lib/python2.7/doctest.py", line 610, in get_doctest | |
return DocTest(self.get_examples(string, name), globs, | |
File "/usr/lib/python2.7/doctest.py", line 624, in get_examples | |
return [x for x in self.parse(string, name) | |
File "/usr/lib/python2.7/doctest.py", line 586, in parse | |
self._parse_example(m, name, lineno) | |
File "/usr/lib/python2.7/doctest.py", line 656, in _parse_example | |
lineno + len(source_lines)) | |
File "/usr/lib/python2.7/doctest.py", line 742, in _check_prefix | |
(lineno+i+1, name, line)) | |
ValueError: line 13 of the docstring for matplotlib.axes.Axes.hold has inconsistent leading whitespace: '* turn hold on:' | |
====================================================================== | |
ERROR: Failure: ImportError (The CococaAgg backend required PyObjC to be installed!) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib/pymodules/python2.7/nose/loader.py", line 390, in loadTestsFromName | |
addr.filename, addr.module) | |
File "/usr/lib/pymodules/python2.7/nose/importer.py", line 39, in importFromPath | |
return self.importFromDir(dir_path, fqname) | |
File "/usr/lib/pymodules/python2.7/nose/importer.py", line 86, in importFromDir | |
mod = load_module(part_fqname, fh, filename, desc) | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/backends/backend_cocoaagg.py", line 22, in <module> | |
raise ImportError('The CococaAgg backend required PyObjC to be installed!') | |
ImportError: The CococaAgg backend required PyObjC to be installed! | |
====================================================================== | |
ERROR: Failure: ImportError (You must first install pyemf from http://pyemf.sf.net) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib/pymodules/python2.7/nose/loader.py", line 390, in loadTestsFromName | |
addr.filename, addr.module) | |
File "/usr/lib/pymodules/python2.7/nose/importer.py", line 39, in importFromPath | |
return self.importFromDir(dir_path, fqname) | |
File "/usr/lib/pymodules/python2.7/nose/importer.py", line 86, in importFromDir | |
mod = load_module(part_fqname, fh, filename, desc) | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/backends/backend_emf.py", line 11, in <module> | |
raise ImportError('You must first install pyemf from http://pyemf.sf.net') | |
ImportError: You must first install pyemf from http://pyemf.sf.net | |
====================================================================== | |
ERROR: Failure: ImportError (No module named fltk) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib/pymodules/python2.7/nose/loader.py", line 390, in loadTestsFromName | |
addr.filename, addr.module) | |
File "/usr/lib/pymodules/python2.7/nose/importer.py", line 39, in importFromPath | |
return self.importFromDir(dir_path, fqname) | |
File "/usr/lib/pymodules/python2.7/nose/importer.py", line 86, in importFromDir | |
mod = load_module(part_fqname, fh, filename, desc) | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/backends/backend_fltkagg.py", line 15, in <module> | |
import fltk as Fltk | |
ImportError: No module named fltk | |
====================================================================== | |
ERROR: Failure: ImportError (cannot import name _macosx) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib/pymodules/python2.7/nose/loader.py", line 390, in loadTestsFromName | |
addr.filename, addr.module) | |
File "/usr/lib/pymodules/python2.7/nose/importer.py", line 39, in importFromPath | |
return self.importFromDir(dir_path, fqname) | |
File "/usr/lib/pymodules/python2.7/nose/importer.py", line 86, in importFromDir | |
mod = load_module(part_fqname, fh, filename, desc) | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/backends/backend_macosx.py", line 21, in <module> | |
from matplotlib.backends import _macosx | |
ImportError: cannot import name _macosx | |
====================================================================== | |
ERROR: Failure: AttributeError ('module' object has no attribute 'Qt') | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib/pymodules/python2.7/nose/loader.py", line 390, in loadTestsFromName | |
addr.filename, addr.module) | |
File "/usr/lib/pymodules/python2.7/nose/importer.py", line 39, in importFromPath | |
return self.importFromDir(dir_path, fqname) | |
File "/usr/lib/pymodules/python2.7/nose/importer.py", line 86, in importFromDir | |
mod = load_module(part_fqname, fh, filename, desc) | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/backends/backend_qt.py", line 29, in <module> | |
cursors.MOVE : qt.Qt.PointingHandCursor, | |
AttributeError: 'module' object has no attribute 'Qt' | |
====================================================================== | |
ERROR: Failure: AttributeError ('module' object has no attribute 'Qt') | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib/pymodules/python2.7/nose/loader.py", line 390, in loadTestsFromName | |
addr.filename, addr.module) | |
File "/usr/lib/pymodules/python2.7/nose/importer.py", line 39, in importFromPath | |
return self.importFromDir(dir_path, fqname) | |
File "/usr/lib/pymodules/python2.7/nose/importer.py", line 86, in importFromDir | |
mod = load_module(part_fqname, fh, filename, desc) | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/backends/backend_qtagg.py", line 12, in <module> | |
from backend_qt import qt, FigureManagerQT, FigureCanvasQT,\ | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/backends/backend_qt.py", line 29, in <module> | |
cursors.MOVE : qt.Qt.PointingHandCursor, | |
AttributeError: 'module' object has no attribute 'Qt' | |
====================================================================== | |
ERROR: Failure: ImportError (No module named builtins) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib/pymodules/python2.7/nose/loader.py", line 390, in loadTestsFromName | |
addr.filename, addr.module) | |
File "/usr/lib/pymodules/python2.7/nose/importer.py", line 39, in importFromPath | |
return self.importFromDir(dir_path, fqname) | |
File "/usr/lib/pymodules/python2.7/nose/importer.py", line 86, in importFromDir | |
mod = load_module(part_fqname, fh, filename, desc) | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/pyparsing_py3.py", line 142, in <module> | |
import builtins | |
ImportError: No module named builtins | |
====================================================================== | |
ERROR: Failure: ValueError (line 19 of the docstring for matplotlib.pyplot.setp has inconsistent leading whitespace: ' ... long output listing omitted') | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib/pymodules/python2.7/nose/plugins/manager.py", line 149, in generate | |
for r in result: | |
File "/usr/lib/pymodules/python2.7/nose/plugins/doctests.py", line 206, in loadTestsFromModule | |
tests = self.finder.find(module) | |
File "/usr/lib/python2.7/doctest.py", line 865, in find | |
self._find(tests, obj, name, module, source_lines, globs, {}) | |
File "/usr/lib/python2.7/doctest.py", line 919, in _find | |
globs, seen) | |
File "/usr/lib/python2.7/doctest.py", line 907, in _find | |
test = self._get_test(obj, name, module, globs, source_lines) | |
File "/usr/lib/python2.7/doctest.py", line 991, in _get_test | |
filename, lineno) | |
File "/usr/lib/python2.7/doctest.py", line 610, in get_doctest | |
return DocTest(self.get_examples(string, name), globs, | |
File "/usr/lib/python2.7/doctest.py", line 624, in get_examples | |
return [x for x in self.parse(string, name) | |
File "/usr/lib/python2.7/doctest.py", line 586, in parse | |
self._parse_example(m, name, lineno) | |
File "/usr/lib/python2.7/doctest.py", line 645, in _parse_example | |
self._check_prefix(source_lines[1:], ' '*indent + '.', name, lineno) | |
File "/usr/lib/python2.7/doctest.py", line 742, in _check_prefix | |
(lineno+i+1, name, line)) | |
ValueError: line 19 of the docstring for matplotlib.pyplot.setp has inconsistent leading whitespace: ' ... long output listing omitted' | |
====================================================================== | |
ERROR: Failure: ValueError (line 59 of the docstring for matplotlib.sankey.Sankey.__init__ has inconsistent leading whitespace: 'Then add simple Sankey sub-diagrams:') | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib/pymodules/python2.7/nose/plugins/manager.py", line 149, in generate | |
for r in result: | |
File "/usr/lib/pymodules/python2.7/nose/plugins/doctests.py", line 206, in loadTestsFromModule | |
tests = self.finder.find(module) | |
File "/usr/lib/python2.7/doctest.py", line 865, in find | |
self._find(tests, obj, name, module, source_lines, globs, {}) | |
File "/usr/lib/python2.7/doctest.py", line 919, in _find | |
globs, seen) | |
File "/usr/lib/python2.7/doctest.py", line 954, in _find | |
globs, seen) | |
File "/usr/lib/python2.7/doctest.py", line 907, in _find | |
test = self._get_test(obj, name, module, globs, source_lines) | |
File "/usr/lib/python2.7/doctest.py", line 991, in _get_test | |
filename, lineno) | |
File "/usr/lib/python2.7/doctest.py", line 610, in get_doctest | |
return DocTest(self.get_examples(string, name), globs, | |
File "/usr/lib/python2.7/doctest.py", line 624, in get_examples | |
return [x for x in self.parse(string, name) | |
File "/usr/lib/python2.7/doctest.py", line 586, in parse | |
self._parse_example(m, name, lineno) | |
File "/usr/lib/python2.7/doctest.py", line 656, in _parse_example | |
lineno + len(source_lines)) | |
File "/usr/lib/python2.7/doctest.py", line 742, in _check_prefix | |
(lineno+i+1, name, line)) | |
ValueError: line 59 of the docstring for matplotlib.sankey.Sankey.__init__ has inconsistent leading whitespace: 'Then add simple Sankey sub-diagrams:' | |
====================================================================== | |
ERROR: Failure: ImportError (No module named Shell) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib/pymodules/python2.7/nose/loader.py", line 390, in loadTestsFromName | |
addr.filename, addr.module) | |
File "/usr/lib/pymodules/python2.7/nose/importer.py", line 39, in importFromPath | |
return self.importFromDir(dir_path, fqname) | |
File "/usr/lib/pymodules/python2.7/nose/importer.py", line 86, in importFromDir | |
mod = load_module(part_fqname, fh, filename, desc) | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/sphinxext/ipython_directive.py", line 5, in <module> | |
from IPython.Shell import MatplotlibShell | |
ImportError: No module named Shell | |
====================================================================== | |
ERROR: test suite for <module 'matplotlib.sphinxext.plot_directive' from '/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/sphinxext/plot_directive.pyc'> | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib/pymodules/python2.7/nose/suite.py", line 208, in run | |
self.setUp() | |
File "/usr/lib/pymodules/python2.7/nose/suite.py", line 291, in setUp | |
self.setupContext(ancestor) | |
File "/usr/lib/pymodules/python2.7/nose/suite.py", line 314, in setupContext | |
try_run(context, names) | |
File "/usr/lib/pymodules/python2.7/nose/util.py", line 476, in try_run | |
return func(obj) | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/sphinxext/plot_directive.py", line 264, in setup | |
setup.config = app.config | |
AttributeError: 'module' object has no attribute 'config' | |
====================================================================== | |
ERROR: test suite for <class 'matplotlib.tests.test_axes.test_axhspan_epoch'> | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib/pymodules/python2.7/nose/suite.py", line 208, in run | |
self.setUp() | |
File "/usr/lib/pymodules/python2.7/nose/suite.py", line 291, in setUp | |
self.setupContext(ancestor) | |
File "/usr/lib/pymodules/python2.7/nose/suite.py", line 314, in setupContext | |
try_run(context, names) | |
File "/usr/lib/pymodules/python2.7/nose/util.py", line 478, in try_run | |
return func() | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 86, in setup_class | |
cls._func() | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/tests/test_axes.py", line 349, in test_axhspan_epoch | |
units.register() | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/testing/jpl_units/__init__.py", line 62, in register | |
mplU.registry[ str ] = StrConverter() | |
TypeError: 'module' object is not callable | |
====================================================================== | |
ERROR: test suite for <class 'matplotlib.tests.test_axes.test_axvspan_epoch'> | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib/pymodules/python2.7/nose/suite.py", line 208, in run | |
self.setUp() | |
File "/usr/lib/pymodules/python2.7/nose/suite.py", line 291, in setUp | |
self.setupContext(ancestor) | |
File "/usr/lib/pymodules/python2.7/nose/suite.py", line 314, in setupContext | |
try_run(context, names) | |
File "/usr/lib/pymodules/python2.7/nose/util.py", line 478, in try_run | |
return func() | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 86, in setup_class | |
cls._func() | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/tests/test_axes.py", line 330, in test_axvspan_epoch | |
units.register() | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/testing/jpl_units/__init__.py", line 62, in register | |
mplU.registry[ str ] = StrConverter() | |
TypeError: 'module' object is not callable | |
====================================================================== | |
ERROR: test suite for <class 'matplotlib.tests.test_axes.test_fill_units'> | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib/pymodules/python2.7/nose/suite.py", line 208, in run | |
self.setUp() | |
File "/usr/lib/pymodules/python2.7/nose/suite.py", line 291, in setUp | |
self.setupContext(ancestor) | |
File "/usr/lib/pymodules/python2.7/nose/suite.py", line 314, in setupContext | |
try_run(context, names) | |
File "/usr/lib/pymodules/python2.7/nose/util.py", line 478, in try_run | |
return func() | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 86, in setup_class | |
cls._func() | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/tests/test_axes.py", line 138, in test_fill_units | |
units.register() | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/testing/jpl_units/__init__.py", line 62, in register | |
mplU.registry[ str ] = StrConverter() | |
TypeError: 'module' object is not callable | |
====================================================================== | |
ERROR: test suite for <class 'matplotlib.tests.test_axes.test_formatter_ticker'> | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib/pymodules/python2.7/nose/suite.py", line 208, in run | |
self.setUp() | |
File "/usr/lib/pymodules/python2.7/nose/suite.py", line 291, in setUp | |
self.setupContext(ancestor) | |
File "/usr/lib/pymodules/python2.7/nose/suite.py", line 314, in setupContext | |
try_run(context, names) | |
File "/usr/lib/pymodules/python2.7/nose/util.py", line 478, in try_run | |
return func() | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 86, in setup_class | |
cls._func() | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/tests/test_axes.py", line 16, in test_formatter_ticker | |
units.register() | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/testing/jpl_units/__init__.py", line 62, in register | |
mplU.registry[ str ] = StrConverter() | |
TypeError: 'module' object is not callable | |
====================================================================== | |
ERROR: test suite for <class 'matplotlib.tests.test_axes.test_polar_units'> | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib/pymodules/python2.7/nose/suite.py", line 208, in run | |
self.setUp() | |
File "/usr/lib/pymodules/python2.7/nose/suite.py", line 291, in setUp | |
self.setupContext(ancestor) | |
File "/usr/lib/pymodules/python2.7/nose/suite.py", line 314, in setupContext | |
try_run(context, names) | |
File "/usr/lib/pymodules/python2.7/nose/util.py", line 478, in try_run | |
return func() | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 86, in setup_class | |
cls._func() | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/tests/test_axes.py", line 277, in test_polar_units | |
units.register() | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/testing/jpl_units/__init__.py", line 62, in register | |
mplU.registry[ str ] = StrConverter() | |
TypeError: 'module' object is not callable | |
====================================================================== | |
ERROR: matplotlib.tests.test_basic.test_simple_knownfail | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib/pymodules/python2.7/nose/case.py", line 187, in runTest | |
self.test(*self.arg) | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 44, in failer | |
raise KnownFailureTest(msg) # An error here when running nose means that you don't have the matplotlib.testing.noseclasses:KnownFailure plugin in use. | |
KnownFailureTest: Test known to fail | |
====================================================================== | |
ERROR: test suite for <class 'matplotlib.tests.test_dates.test_DateFormatter'> | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib/pymodules/python2.7/nose/suite.py", line 208, in run | |
self.setUp() | |
File "/usr/lib/pymodules/python2.7/nose/suite.py", line 291, in setUp | |
self.setupContext(ancestor) | |
File "/usr/lib/pymodules/python2.7/nose/suite.py", line 314, in setupContext | |
try_run(context, names) | |
File "/usr/lib/pymodules/python2.7/nose/util.py", line 478, in try_run | |
return func() | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 86, in setup_class | |
cls._func() | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/tests/test_dates.py", line 119, in test_DateFormatter | |
units.register() | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/testing/jpl_units/__init__.py", line 62, in register | |
mplU.registry[ str ] = StrConverter() | |
TypeError: 'module' object is not callable | |
====================================================================== | |
ERROR: test suite for <class 'matplotlib.tests.test_dates.test_RRuleLocator'> | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib/pymodules/python2.7/nose/suite.py", line 208, in run | |
self.setUp() | |
File "/usr/lib/pymodules/python2.7/nose/suite.py", line 291, in setUp | |
self.setupContext(ancestor) | |
File "/usr/lib/pymodules/python2.7/nose/suite.py", line 314, in setupContext | |
try_run(context, names) | |
File "/usr/lib/pymodules/python2.7/nose/util.py", line 478, in try_run | |
return func() | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 86, in setup_class | |
cls._func() | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/tests/test_dates.py", line 93, in test_RRuleLocator | |
units.register() | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/testing/jpl_units/__init__.py", line 62, in register | |
mplU.registry[ str ] = StrConverter() | |
TypeError: 'module' object is not callable | |
====================================================================== | |
ERROR: matplotlib.tests.test_dates.test_empty_date_with_year_formatter.test | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib/pymodules/python2.7/nose/case.py", line 187, in runTest | |
self.test(*self.arg) | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 69, in test | |
self._func() | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 44, in failer | |
raise KnownFailureTest(msg) # An error here when running nose means that you don't have the matplotlib.testing.noseclasses:KnownFailure plugin in use. | |
KnownFailureTest: Test known to fail | |
====================================================================== | |
FAIL: Doctest: matplotlib.afm | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/doctest.py", line 2166, in runTest | |
raise self.failureException(self.format_failure(new.getvalue())) | |
AssertionError: Failed doctest test for matplotlib.afm | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/afm.py", line 0, in afm | |
---------------------------------------------------------------------- | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/afm.py", line 17, in matplotlib.afm | |
Failed example: | |
fh = open('ptmr8a.afm') | |
Exception raised: | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/doctest.py", line 1254, in __run | |
compileflags, 1) in test.globs | |
File "<doctest matplotlib.afm[1]>", line 1, in <module> | |
fh = open('ptmr8a.afm') | |
IOError: [Errno 2] No such file or directory: 'ptmr8a.afm' | |
---------------------------------------------------------------------- | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/afm.py", line 18, in matplotlib.afm | |
Failed example: | |
afm = AFM(fh) | |
Exception raised: | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/doctest.py", line 1254, in __run | |
compileflags, 1) in test.globs | |
File "<doctest matplotlib.afm[2]>", line 1, in <module> | |
afm = AFM(fh) | |
NameError: name 'fh' is not defined | |
---------------------------------------------------------------------- | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/afm.py", line 19, in matplotlib.afm | |
Failed example: | |
afm.string_width_height('What the heck?') | |
Exception raised: | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/doctest.py", line 1254, in __run | |
compileflags, 1) in test.globs | |
File "<doctest matplotlib.afm[3]>", line 1, in <module> | |
afm.string_width_height('What the heck?') | |
NameError: name 'afm' is not defined | |
---------------------------------------------------------------------- | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/afm.py", line 21, in matplotlib.afm | |
Failed example: | |
afm.get_fontname() | |
Exception raised: | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/doctest.py", line 1254, in __run | |
compileflags, 1) in test.globs | |
File "<doctest matplotlib.afm[4]>", line 1, in <module> | |
afm.get_fontname() | |
NameError: name 'afm' is not defined | |
---------------------------------------------------------------------- | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/afm.py", line 23, in matplotlib.afm | |
Failed example: | |
afm.get_kern_dist('A', 'f') | |
Exception raised: | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/doctest.py", line 1254, in __run | |
compileflags, 1) in test.globs | |
File "<doctest matplotlib.afm[5]>", line 1, in <module> | |
afm.get_kern_dist('A', 'f') | |
NameError: name 'afm' is not defined | |
---------------------------------------------------------------------- | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/afm.py", line 25, in matplotlib.afm | |
Failed example: | |
afm.get_kern_dist('A', 'y') | |
Exception raised: | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/doctest.py", line 1254, in __run | |
compileflags, 1) in test.globs | |
File "<doctest matplotlib.afm[6]>", line 1, in <module> | |
afm.get_kern_dist('A', 'y') | |
NameError: name 'afm' is not defined | |
---------------------------------------------------------------------- | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/afm.py", line 27, in matplotlib.afm | |
Failed example: | |
afm.get_bbox_char('!') | |
Exception raised: | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/doctest.py", line 1254, in __run | |
compileflags, 1) in test.globs | |
File "<doctest matplotlib.afm[7]>", line 1, in <module> | |
afm.get_bbox_char('!') | |
NameError: name 'afm' is not defined | |
---------------------------------------------------------------------- | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/afm.py", line 29, in matplotlib.afm | |
Failed example: | |
afm.get_bbox_font() | |
Exception raised: | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/doctest.py", line 1254, in __run | |
compileflags, 1) in test.globs | |
File "<doctest matplotlib.afm[8]>", line 1, in <module> | |
afm.get_bbox_font() | |
NameError: name 'afm' is not defined | |
====================================================================== | |
FAIL: Doctest: matplotlib.backends.backend_agg.RendererAgg.restore_region | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/doctest.py", line 2166, in runTest | |
raise self.failureException(self.format_failure(new.getvalue())) | |
AssertionError: Failed doctest test for matplotlib.backends.backend_agg.RendererAgg.restore_region | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/backends/backend_agg.py", line 272, in restore_region | |
---------------------------------------------------------------------- | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/backends/backend_agg.py", line 280, in matplotlib.backends.backend_agg.RendererAgg.restore_region | |
Failed example: | |
region = renderer.copy_from_bbox() | |
Exception raised: | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/doctest.py", line 1254, in __run | |
compileflags, 1) in test.globs | |
File "<doctest matplotlib.backends.backend_agg.RendererAgg.restore_region[0]>", line 1, in <module> | |
region = renderer.copy_from_bbox() | |
NameError: name 'renderer' is not defined | |
---------------------------------------------------------------------- | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/backends/backend_agg.py", line 281, in matplotlib.backends.backend_agg.RendererAgg.restore_region | |
Failed example: | |
x1, y1, x2, y2 = region.get_extents() | |
Exception raised: | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/doctest.py", line 1254, in __run | |
compileflags, 1) in test.globs | |
File "<doctest matplotlib.backends.backend_agg.RendererAgg.restore_region[1]>", line 1, in <module> | |
x1, y1, x2, y2 = region.get_extents() | |
NameError: name 'region' is not defined | |
---------------------------------------------------------------------- | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/backends/backend_agg.py", line 282, in matplotlib.backends.backend_agg.RendererAgg.restore_region | |
Failed example: | |
renderer.restore_region(region, bbox=(x1+dx, y1, x2, y2), | |
Exception raised: | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/doctest.py", line 1254, in __run | |
compileflags, 1) in test.globs | |
File "<doctest matplotlib.backends.backend_agg.RendererAgg.restore_region[2]>", line 1 | |
renderer.restore_region(region, bbox=(x1+dx, y1, x2, y2), | |
^ | |
SyntaxError: unexpected EOF while parsing | |
====================================================================== | |
FAIL: Doctest: matplotlib.cbook.Bunch | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/doctest.py", line 2166, in runTest | |
raise self.failureException(self.format_failure(new.getvalue())) | |
AssertionError: Failed doctest test for matplotlib.cbook.Bunch | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/cbook.py", line 391, in Bunch | |
---------------------------------------------------------------------- | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/cbook.py", line 399, in matplotlib.cbook.Bunch | |
Failed example: | |
point.datum | |
Expected nothing | |
Got: | |
2 | |
====================================================================== | |
FAIL: Doctest: matplotlib.cbook.Grouper | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/doctest.py", line 2166, in runTest | |
raise self.failureException(self.format_failure(new.getvalue())) | |
AssertionError: Failed doctest test for matplotlib.cbook.Grouper | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/cbook.py", line 1462, in Grouper | |
---------------------------------------------------------------------- | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/cbook.py", line 1487, in matplotlib.cbook.Grouper | |
Failed example: | |
list(g) | |
Expected: | |
[[d, e], [a, b, c]] | |
Got: | |
[[a, b, c], [d, e]] | |
====================================================================== | |
FAIL: Doctest: matplotlib.cbook.flatten | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/doctest.py", line 2166, in runTest | |
raise self.failureException(self.format_failure(new.getvalue())) | |
AssertionError: Failed doctest test for matplotlib.cbook.flatten | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/cbook.py", line 738, in flatten | |
---------------------------------------------------------------------- | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/cbook.py", line 746, in matplotlib.cbook.flatten | |
Failed example: | |
for i in flatten(l): print i, | |
Exception raised: | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/doctest.py", line 1254, in __run | |
compileflags, 1) in test.globs | |
File "<doctest matplotlib.cbook.flatten[1]>", line 1 | |
for i in flatten(l): print i, | |
^ | |
SyntaxError: invalid syntax | |
====================================================================== | |
FAIL: Doctest: matplotlib.dviread.PsfontsMap | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/doctest.py", line 2166, in runTest | |
raise self.failureException(self.format_failure(new.getvalue())) | |
AssertionError: Failed doctest test for matplotlib.dviread.PsfontsMap | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/dviread.py", line 638, in PsfontsMap | |
---------------------------------------------------------------------- | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/dviread.py", line 647, in matplotlib.dviread.PsfontsMap | |
Failed example: | |
entry.psname | |
Expected: | |
'Times-Bold' | |
Got: | |
'NimbusRomNo9L-Medi' | |
---------------------------------------------------------------------- | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/dviread.py", line 649, in matplotlib.dviread.PsfontsMap | |
Failed example: | |
entry.encoding | |
Expected: | |
'/usr/local/texlive/2008/texmf-dist/fonts/enc/dvips/base/8r.enc' | |
Got: | |
u'/usr/share/texmf-texlive/fonts/enc/dvips/base/8r.enc' | |
---------------------------------------------------------------------- | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/dviread.py", line 651, in matplotlib.dviread.PsfontsMap | |
Failed example: | |
entry.effects | |
Expected: | |
{'slant': 0.16700000000000001} | |
Got: | |
{'slant': 0.167} | |
---------------------------------------------------------------------- | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/dviread.py", line 653, in matplotlib.dviread.PsfontsMap | |
Failed example: | |
entry.filename | |
Expected nothing | |
Got: | |
u'/usr/share/texmf-texlive/fonts/type1/urw/times/utmb8a.pfb' | |
====================================================================== | |
FAIL: Doctest: matplotlib.mlab.frange | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/doctest.py", line 2166, in runTest | |
raise self.failureException(self.format_failure(new.getvalue())) | |
AssertionError: Failed doctest test for matplotlib.mlab.frange | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/mlab.py", line 1576, in frange | |
---------------------------------------------------------------------- | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/mlab.py", line 1610, in matplotlib.mlab.frange | |
Failed example: | |
frange(1,6,2) | |
Expected: | |
array([1, 3, 5]) or 1,3,5,7, depending on floating point vagueries | |
Got: | |
array([1, 3, 5, 7]) | |
====================================================================== | |
FAIL: Doctest: matplotlib.ticker.EngFormatter.format_eng | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/doctest.py", line 2166, in runTest | |
raise self.failureException(self.format_failure(new.getvalue())) | |
AssertionError: Failed doctest test for matplotlib.ticker.EngFormatter.format_eng | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/ticker.py", line 737, in format_eng | |
---------------------------------------------------------------------- | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/ticker.py", line 741, in matplotlib.ticker.EngFormatter.format_eng | |
Failed example: | |
format_eng(0) for self.places = 0 | |
Exception raised: | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/doctest.py", line 1254, in __run | |
compileflags, 1) in test.globs | |
File "<doctest matplotlib.ticker.EngFormatter.format_eng[0]>", line 1 | |
format_eng(0) for self.places = 0 | |
^ | |
SyntaxError: invalid syntax | |
---------------------------------------------------------------------- | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/ticker.py", line 744, in matplotlib.ticker.EngFormatter.format_eng | |
Failed example: | |
format_eng(1000000) for self.places = 1 | |
Exception raised: | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/doctest.py", line 1254, in __run | |
compileflags, 1) in test.globs | |
File "<doctest matplotlib.ticker.EngFormatter.format_eng[1]>", line 1 | |
format_eng(1000000) for self.places = 1 | |
^ | |
SyntaxError: invalid syntax | |
---------------------------------------------------------------------- | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/ticker.py", line 747, in matplotlib.ticker.EngFormatter.format_eng | |
Failed example: | |
format_eng("-1e-6") for self.places = 2 | |
Exception raised: | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/doctest.py", line 1254, in __run | |
compileflags, 1) in test.globs | |
File "<doctest matplotlib.ticker.EngFormatter.format_eng[2]>", line 1 | |
format_eng("-1e-6") for self.places = 2 | |
^ | |
SyntaxError: invalid syntax | |
====================================================================== | |
FAIL: Doctest: matplotlib.type1font | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/doctest.py", line 2166, in runTest | |
raise self.failureException(self.format_failure(new.getvalue())) | |
AssertionError: Failed doctest test for matplotlib.type1font | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/type1font.py", line 0, in type1font | |
---------------------------------------------------------------------- | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/type1font.py", line 11, in matplotlib.type1font | |
Failed example: | |
font = Type1Font(filename) | |
Exception raised: | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/doctest.py", line 1254, in __run | |
compileflags, 1) in test.globs | |
File "<doctest matplotlib.type1font[0]>", line 1, in <module> | |
font = Type1Font(filename) | |
NameError: name 'filename' is not defined | |
---------------------------------------------------------------------- | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/type1font.py", line 12, in matplotlib.type1font | |
Failed example: | |
clear_part, encrypted_part, finale = font.parts | |
Exception raised: | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/doctest.py", line 1254, in __run | |
compileflags, 1) in test.globs | |
File "<doctest matplotlib.type1font[1]>", line 1, in <module> | |
clear_part, encrypted_part, finale = font.parts | |
NameError: name 'font' is not defined | |
---------------------------------------------------------------------- | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/type1font.py", line 13, in matplotlib.type1font | |
Failed example: | |
slanted_font = font.transform({'slant': 0.167}) | |
Exception raised: | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/doctest.py", line 1254, in __run | |
compileflags, 1) in test.globs | |
File "<doctest matplotlib.type1font[2]>", line 1, in <module> | |
slanted_font = font.transform({'slant': 0.167}) | |
NameError: name 'font' is not defined | |
---------------------------------------------------------------------- | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/type1font.py", line 14, in matplotlib.type1font | |
Failed example: | |
extended_font = font.transform({'extend': 1.2}) | |
Exception raised: | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/doctest.py", line 1254, in __run | |
compileflags, 1) in test.globs | |
File "<doctest matplotlib.type1font[3]>", line 1, in <module> | |
extended_font = font.transform({'extend': 1.2}) | |
NameError: name 'font' is not defined | |
====================================================================== | |
FAIL: matplotlib.tests.test_axes.test_polar_wrap.test | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib/pymodules/python2.7/nose/case.py", line 187, in runTest | |
self.test(*self.arg) | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 36, in failer | |
result = f(*args, **kwargs) | |
File "/home/fperez/usr/opt/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 127, in do_test | |
'(RMS %(rms).3f)'%err) | |
ImageComparisonFailure: images not close: /home/fperez/tmp/junk/result_images/test_axes/polar_wrap_360.png vs. /home/fperez/tmp/junk/result_images/test_axes/expected-polar_wrap_360.png (RMS 34.734) | |
---------------------------------------------------------------------- | |
Ran 1067 tests in 608.369s | |
FAILED (errors=22, failures=10) | |
ICE default IO error handler doing an exit(), pid = 23278, errno = 32 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment