Last active
December 18, 2015 04:59
-
-
Save milibopp/5729280 to your computer and use it in GitHub Desktop.
tox fails on matplotlib
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(matplotlib)eduard@sagittaron $ tox -e py27 | |
GLOB sdist-make: /home/eduard/dev/matplotlib/setup.py | |
py27 inst-nodeps: /home/eduard/dev/matplotlib/.tox/dist/matplotlib-1.4.x.zip | |
py27 runtests: commands[0] | |
WARNING:test command found but not installed in testenv | |
cmd: /usr/bin/sh | |
env: /home/eduard/dev/matplotlib/.tox/py27 | |
Maybe forgot to specify a dependency? | |
py27 runtests: commands[1] | |
E....................................................................................................................................................................................................................................K...K...................EEE...........................................................................................................................................................................................K................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................./home/eduard/dev/matplotlib/.tox/py27/lib/python2.7/site-packages/numpy/ma/core.py:3791: UserWarning: Warning: converting a masked element to nan. | |
warnings.warn("Warning: converting a masked element to nan.") | |
.............................................../home/eduard/dev/matplotlib/.tox/py27/lib/python2.7/site-packages/matplotlib/gridspec.py:298: UserWarning: This figure includes Axes that are not compatible with tight_layout, so its results might be incorrect. | |
warnings.warn("This figure includes Axes that are not " | |
...................................................... | |
====================================================================== | |
ERROR: Failure: NameError (name 'pep8' is not defined) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/eduard/dev/matplotlib/.tox/py27/lib/python2.7/site-packages/nose/loader.py", line 402, in loadTestsFromName | |
module = resolve_name(addr.module) | |
File "/home/eduard/dev/matplotlib/.tox/py27/lib/python2.7/site-packages/nose/util.py", line 311, in resolve_name | |
module = __import__('.'.join(parts_copy)) | |
File "/home/eduard/dev/matplotlib/.tox/py27/lib/python2.7/site-packages/matplotlib/tests/test_coding_standards.py", line 18, in <module> | |
class StandardReportWithExclusions(pep8.StandardReport): | |
NameError: name 'pep8' is not defined | |
====================================================================== | |
ERROR: matplotlib.tests.test_bbox_tight.test_bbox_inches_tight_suptile_legend.test | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/eduard/dev/matplotlib/.tox/py27/lib/python2.7/site-packages/nose/case.py", line 197, in runTest | |
self.test(*self.arg) | |
File "/home/eduard/dev/matplotlib/.tox/py27/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 40, in failer | |
result = f(*args, **kwargs) | |
File "/home/eduard/dev/matplotlib/.tox/py27/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 149, in do_test | |
self._tol, in_decorator=True) | |
File "/home/eduard/dev/matplotlib/.tox/py27/lib/python2.7/site-packages/matplotlib/testing/compare.py", line 339, in compare_images | |
rms = calculate_rms(expectedImage, actualImage) | |
File "/home/eduard/dev/matplotlib/.tox/py27/lib/python2.7/site-packages/matplotlib/testing/compare.py", line 247, in calculate_rms | |
abs_diff_image = abs(expectedImage - actualImage) | |
ValueError: operands could not be broadcast together with shapes (593,919,3) (588,918,3) | |
====================================================================== | |
ERROR: matplotlib.tests.test_bbox_tight.test_bbox_inches_tight_suptile_legend.test | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/eduard/dev/matplotlib/.tox/py27/lib/python2.7/site-packages/nose/case.py", line 197, in runTest | |
self.test(*self.arg) | |
File "/home/eduard/dev/matplotlib/.tox/py27/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 40, in failer | |
result = f(*args, **kwargs) | |
File "/home/eduard/dev/matplotlib/.tox/py27/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 149, in do_test | |
self._tol, in_decorator=True) | |
File "/home/eduard/dev/matplotlib/.tox/py27/lib/python2.7/site-packages/matplotlib/testing/compare.py", line 339, in compare_images | |
rms = calculate_rms(expectedImage, actualImage) | |
File "/home/eduard/dev/matplotlib/.tox/py27/lib/python2.7/site-packages/matplotlib/testing/compare.py", line 247, in calculate_rms | |
abs_diff_image = abs(expectedImage - actualImage) | |
ValueError: operands could not be broadcast together with shapes (427,662,3) (423,662,3) | |
====================================================================== | |
ERROR: matplotlib.tests.test_bbox_tight.test_bbox_inches_tight_suptile_legend.test | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/eduard/dev/matplotlib/.tox/py27/lib/python2.7/site-packages/nose/case.py", line 197, in runTest | |
self.test(*self.arg) | |
File "/home/eduard/dev/matplotlib/.tox/py27/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 40, in failer | |
result = f(*args, **kwargs) | |
File "/home/eduard/dev/matplotlib/.tox/py27/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 149, in do_test | |
self._tol, in_decorator=True) | |
File "/home/eduard/dev/matplotlib/.tox/py27/lib/python2.7/site-packages/matplotlib/testing/compare.py", line 339, in compare_images | |
rms = calculate_rms(expectedImage, actualImage) | |
File "/home/eduard/dev/matplotlib/.tox/py27/lib/python2.7/site-packages/matplotlib/testing/compare.py", line 247, in calculate_rms | |
abs_diff_image = abs(expectedImage - actualImage) | |
ValueError: operands could not be broadcast together with shapes (533,826,3) (529,826,3) | |
---------------------------------------------------------------------- | |
Ran 1458 tests in 167.903s | |
FAILED (KNOWNFAIL=3, errors=4) | |
ERROR: InvocationError: '/home/eduard/dev/matplotlib/.tox/py27/bin/python /home/eduard/dev/matplotlib/tests.py --processes=-1 --process-timeout=300' | |
__________________________________________________________________________________________________________________ summary __________________________________________________________________________________________________________________ | |
ERROR: py27: commands failed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment