Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 96003f9

Browse filesBrowse files
authored
Merge pull request #6803 from prinsherbert/freetype-version-check
better freetype version checking
2 parents 68e01df + 2806128 commit 96003f9
Copy full SHA for 96003f9

File tree

Expand file treeCollapse file tree

1 file changed

+9
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+9
-1
lines changed

‎lib/matplotlib/__init__.py

Copy file name to clipboardExpand all lines: lib/matplotlib/__init__.py
+9-1Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1570,7 +1570,15 @@ def _init_tests():
15701570
warnings.warn(
15711571
"matplotlib is not built with the correct FreeType version to run "
15721572
"tests. Set local_freetype=True in setup.cfg and rebuild. "
1573-
"Expect many image comparison failures below.")
1573+
"Expect many image comparison failures below. "
1574+
"Expected freetype version {0}. "
1575+
"Found freetype version {1}. "
1576+
"Freetype build type is {2}local".format(
1577+
ft2font.__freetype_version__,
1578+
LOCAL_FREETYPE_VERSION,
1579+
"" if ft2font.__freetype_build_type__ == 'local' else "not "
1580+
)
1581+
)
15741582

15751583
try:
15761584
import nose

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.