diff --git a/lib/matplotlib/__init__.py b/lib/matplotlib/__init__.py index 06e20820cdff..bb119ff10504 100644 --- a/lib/matplotlib/__init__.py +++ b/lib/matplotlib/__init__.py @@ -1570,7 +1570,15 @@ def _init_tests(): warnings.warn( "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.") + "Expect many image comparison failures below. " + "Expected freetype version {0}. " + "Found freetype version {1}." + "Freetype build type is {2}local".format( + ft2font.__freetype_version__, + LOCAL_FREETYPE_VERSION, + "" if ft2font.__freetype_build_type__ == 'local' else "not " + ) + ) try: import nose diff --git a/lib/matplotlib/tests/__init__.py b/lib/matplotlib/tests/__init__.py index 6a382247e018..2840bc4f5708 100644 --- a/lib/matplotlib/tests/__init__.py +++ b/lib/matplotlib/tests/__init__.py @@ -10,7 +10,6 @@ _multiprocess_can_split_ = True - # Check that the test directories exist if not os.path.exists(os.path.join( os.path.dirname(__file__), 'baseline_images')):