File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,8 +39,8 @@ def failer(*args, **kwargs):
3939def image_comparison (baseline_images = None ):
4040 """
4141 compare images generated by the test with those specified in
42- *baseline_images*, which must correspond within tolerance *tol*,
43- else an ImageComparisonFailure exception will be raised.
42+ *baseline_images*, which must correspond else an
43+ ImageComparisonFailure exception will be raised.
4444
4545 """
4646
@@ -51,6 +51,11 @@ def decorated_compare_images(*args,**kwargs):
5151 result = func (* args ,** kwargs )
5252 extension = '.png' # TODO: test more backends
5353 for fname in baseline_images :
54+ # FIXME: place "actual", or current images, images in
55+ # a more reasonable location than the current
56+ # directory. Also, perhaps put them in sub-directory
57+ # according to the name of the test module like the
58+ # baseline images.
5459 actual = fname + extension
5560
5661 # compute filename for baseline image
You can’t perform that action at this time.
0 commit comments