Created
September 10, 2012 16:31
-
-
Save neggert/3691954 to your computer and use it in GitHub Desktop.
stacked_step_hist tests
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
""" | |
..K...K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K.EEE.K............K..K..K..K..K..K..KK.................................................................K......K..K...K.K..KK...K..K..K......................................................................................................................................................................................K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..........K..K..K..K..K..K...K..K..K.....K../Users/nic/.virtualenvs/sci/lib/python2.7/site-packages/matplotlib/font_manager.py:1214: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to Bitstream Vera Sans | |
(prop.get_family(), self.defaultFamily[fontext])) | |
/Users/nic/.virtualenvs/sci/lib/python2.7/site-packages/matplotlib/font_manager.py:1224: UserWarning: findfont: Could not match :family=Bitstream Vera Sans:style=normal:variant=normal:weight=normal:stretch=normal:size=14.0. Returning /Users/nic/cms/cmspy/lib/python2.6/site-packages/matplotlib/mpl-data/fonts/ttf/Vera.ttf | |
UserWarning) | |
/Users/nic/.virtualenvs/sci/lib/python2.7/site-packages/matplotlib/font_manager.py:1224: UserWarning: findfont: Could not match :family=Bitstream Vera Sans:style=normal:variant=normal:weight=bold:stretch=500:size=14.0. Returning /Users/nic/cms/cmspy/lib/python2.6/site-packages/matplotlib/mpl-data/fonts/ttf/Vera.ttf | |
UserWarning) | |
/Users/nic/.virtualenvs/sci/lib/python2.7/site-packages/matplotlib/font_manager.py:1214: UserWarning: findfont: Font family ['sans serif'] not found. Falling back to Bitstream Vera Sans | |
(prop.get_family(), self.defaultFamily[fontext])) | |
/Users/nic/.virtualenvs/sci/lib/python2.7/site-packages/matplotlib/font_manager.py:1224: UserWarning: findfont: Could not match :family=Bitstream Vera Sans:style=italic:variant=normal:weight=750:stretch=500:size=14.0. Returning /Users/nic/cms/cmspy/lib/python2.6/site-packages/matplotlib/mpl-data/fonts/ttf/Vera.ttf | |
UserWarning) | |
/Users/nic/.virtualenvs/sci/lib/python2.7/site-packages/matplotlib/font_manager.py:1224: UserWarning: findfont: Could not match :family=Bitstream Vera Sans:style=normal:variant=normal:weight=200:stretch=500:size=14.0. Returning /Users/nic/cms/cmspy/lib/python2.6/site-packages/matplotlib/mpl-data/fonts/ttf/Vera.ttf | |
UserWarning) | |
/Users/nic/.virtualenvs/sci/lib/python2.7/site-packages/matplotlib/font_manager.py:1224: UserWarning: findfont: Could not match :family=Bitstream Vera Sans:style=normal:variant=normal:weight=500:stretch=100:size=14.0. Returning /Users/nic/cms/cmspy/lib/python2.6/site-packages/matplotlib/mpl-data/fonts/ttf/Vera.ttf | |
UserWarning) | |
FFK..K.......K..K..K..K..K..K..K.....................K.. | |
====================================================================== | |
ERROR: matplotlib.tests.test_backend_pgf.test_xelatex | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/nic/.virtualenvs/sci/lib/python2.7/site-packages/nose/case.py", line 197, in runTest | |
self.test(*self.arg) | |
File "/Users/nic/.virtualenvs/sci/lib/python2.7/site-packages/matplotlib/tests/test_backend_pgf.py", line 40, in backend_switcher | |
result = func(*args, **kwargs) | |
File "/Users/nic/.virtualenvs/sci/lib/python2.7/site-packages/matplotlib/tests/test_backend_pgf.py", line 73, in test_xelatex | |
if not check_for('xelatex'): | |
File "/Users/nic/.virtualenvs/sci/lib/python2.7/site-packages/matplotlib/tests/test_backend_pgf.py", line 27, in check_for | |
stdout=subprocess.PIPE) | |
File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 679, in __init__ | |
errread, errwrite) | |
File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1249, in _execute_child | |
raise child_exception | |
OSError: [Errno 2] No such file or directory | |
====================================================================== | |
ERROR: matplotlib.tests.test_backend_pgf.test_pdflatex | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/nic/.virtualenvs/sci/lib/python2.7/site-packages/nose/case.py", line 197, in runTest | |
self.test(*self.arg) | |
File "/Users/nic/.virtualenvs/sci/lib/python2.7/site-packages/matplotlib/tests/test_backend_pgf.py", line 40, in backend_switcher | |
result = func(*args, **kwargs) | |
File "/Users/nic/.virtualenvs/sci/lib/python2.7/site-packages/matplotlib/tests/test_backend_pgf.py", line 86, in test_pdflatex | |
if not check_for('pdflatex'): | |
File "/Users/nic/.virtualenvs/sci/lib/python2.7/site-packages/matplotlib/tests/test_backend_pgf.py", line 27, in check_for | |
stdout=subprocess.PIPE) | |
File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 679, in __init__ | |
errread, errwrite) | |
File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1249, in _execute_child | |
raise child_exception | |
OSError: [Errno 2] No such file or directory | |
====================================================================== | |
ERROR: matplotlib.tests.test_backend_pgf.test_rcupdate | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/nic/.virtualenvs/sci/lib/python2.7/site-packages/nose/case.py", line 197, in runTest | |
self.test(*self.arg) | |
File "/Users/nic/.virtualenvs/sci/lib/python2.7/site-packages/matplotlib/tests/test_backend_pgf.py", line 40, in backend_switcher | |
result = func(*args, **kwargs) | |
File "/Users/nic/.virtualenvs/sci/lib/python2.7/site-packages/matplotlib/tests/test_backend_pgf.py", line 102, in test_rcupdate | |
if not check_for('xelatex') or not check_for('pdflatex'): | |
File "/Users/nic/.virtualenvs/sci/lib/python2.7/site-packages/matplotlib/tests/test_backend_pgf.py", line 27, in check_for | |
stdout=subprocess.PIPE) | |
File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 679, in __init__ | |
errread, errwrite) | |
File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1249, in _execute_child | |
raise child_exception | |
OSError: [Errno 2] No such file or directory | |
====================================================================== | |
FAIL: matplotlib.tests.test_text.test_font_styles.test | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/nic/.virtualenvs/sci/lib/python2.7/site-packages/nose/case.py", line 197, in runTest | |
self.test(*self.arg) | |
File "/Users/nic/.virtualenvs/sci/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 39, in failer | |
result = f(*args, **kwargs) | |
File "/Users/nic/.virtualenvs/sci/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 158, in do_test | |
'(RMS %(rms).3f)'%err) | |
ImageComparisonFailure: images not close: /Users/nic/Projects/matplotlib/result_images/test_text/font_styles.png vs. /Users/nic/Projects/matplotlib/result_images/test_text/font_styles-expected.png (RMS 47.145) | |
====================================================================== | |
FAIL: matplotlib.tests.test_text.test_font_styles.test | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/nic/.virtualenvs/sci/lib/python2.7/site-packages/nose/case.py", line 197, in runTest | |
self.test(*self.arg) | |
File "/Users/nic/.virtualenvs/sci/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 39, in failer | |
result = f(*args, **kwargs) | |
File "/Users/nic/.virtualenvs/sci/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 158, in do_test | |
'(RMS %(rms).3f)'%err) | |
ImageComparisonFailure: images not close: /Users/nic/Projects/matplotlib/result_images/test_text/font_styles_pdf.png vs. /Users/nic/Projects/matplotlib/result_images/test_text/font_styles-expected_pdf.png (RMS 23.423) | |
---------------------------------------------------------------------- | |
Ran 1177 tests in 284.445s | |
FAILED (KNOWNFAIL=293, errors=3, failures=2) | |
""" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment