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 662ae7d

Browse filesBrowse files
committed
Change error to warning
1 parent ca61716 commit 662ae7d
Copy full SHA for 662ae7d

File tree

Expand file treeCollapse file tree

1 file changed

+3
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-2
lines changed

‎lib/matplotlib/__init__.py

Copy file name to clipboardExpand all lines: lib/matplotlib/__init__.py
+3-2Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1506,9 +1506,10 @@ def _init_tests():
15061506
from matplotlib import ft2font
15071507
if (ft2font.__freetype_version__ != LOCAL_FREETYPE_VERSION or
15081508
ft2font.__freetype_build_type__ != 'local'):
1509-
raise ImportError(
1509+
warnings.warn(
15101510
"matplotlib is not built with the correct freetype version to run "
1511-
"tests. Set local_freetype=True in setup.cfg and rebuild.")
1511+
"tests. Set local_freetype=True in setup.cfg and rebuild. Expect "
1512+
"many image comparison failures below.")
15121513

15131514
try:
15141515
import nose

0 commit comments

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