Skip to content

Commit 662ae7d

Browse files
committed
Change error to warning
1 parent ca61716 commit 662ae7d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/matplotlib/__init__.py

Lines 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)