@@ -165,7 +165,7 @@ def do_test():
165
165
166
166
yield (do_test ,)
167
167
168
- def image_comparison (baseline_images = None , extensions = None , tol = 10 ,
168
+ def image_comparison (baseline_images = None , extensions = None , tol = 13 ,
169
169
freetype_version = None , remove_text = False ,
170
170
savefig_kwarg = None ):
171
171
"""
@@ -260,11 +260,11 @@ def _image_directories(func):
260
260
subdir = os .path .splitext (os .path .split (script_name )[1 ])[0 ]
261
261
else :
262
262
mods = module_name .split ('.' )
263
- mods .pop (0 ) # <- will be the name of the package being tested (in
263
+ mods .pop (0 ) # <- will be the name of the package being tested (in
264
264
# most cases "matplotlib")
265
265
assert mods .pop (0 ) == 'tests'
266
266
subdir = os .path .join (* mods )
267
-
267
+
268
268
import imp
269
269
def find_dotted_module (module_name , path = None ):
270
270
"""A version of imp which can handle dots in the module name"""
@@ -273,7 +273,7 @@ def find_dotted_module(module_name, path=None):
273
273
res = _ , path , _ = imp .find_module (sub_mod , path )
274
274
path = [path ]
275
275
return res
276
-
276
+
277
277
mod_file = find_dotted_module (func .__module__ )[1 ]
278
278
basedir = os .path .dirname (mod_file )
279
279
0 commit comments