Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 67727e0

Browse files
committed
Change error to warning
1 parent 532a06e commit 67727e0

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
@@ -1498,9 +1498,10 @@ def verify_test_dependencies():
14981498
from matplotlib import ft2font
14991499
if (ft2font.__freetype_version__ != LOCAL_FREETYPE_VERSION or
15001500
ft2font.__freetype_build_type__ != 'local'):
1501-
raise ImportError(
1501+
warnings.warn(
15021502
"matplotlib is not built with the correct freetype version to run "
1503-
"tests. Set local_freetype=True in setup.cfg and rebuild.")
1503+
"tests. Set local_freetype=True in setup.cfg and rebuild. Expect "
1504+
"many image comparison failures below.")
15041505

15051506
try:
15061507
import nose

0 commit comments

Comments
 (0)