8000 check freetype version also specifies what is wrong by prhbrt · Pull Request #6403 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

check freetype version also specifies what is wrong #6403

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 10 commits into from
Prev Previous commit
Next Next commit
decorated freetype error message with more information
  • Loading branch information
Herbert Kruitbosch committed Jul 19, 2016
commit f4de6df162fa0589fd7e91c9b97ed4ee939beb86
7 changes: 5 additions & 2 deletions lib/matplotlib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1554,9 +1554,12 @@ def _init_tests():
"matplotlib is not built with the correct FreeType version to run "
"tests. Set local_freetype=True in setup.cfg and rebuild. "
"Expect many image comparison failures below. "
"Expected {0} != found {1}".format(
"Expected freetype version {0}. "
"Found freetype version {1}."
"Freetype build type is {2}local".format(
ft2font.__freetype_version__,
LOCAL_FREETYPE_VERSION
LOCAL_FREETYPE_VERSION,
"" if ft2font.__freetype_build_type__ != 'local' else "not "
)
)

Expand Down
0