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

Skip to content

Commit e0fce96

Browse files
committed
testing: fix docstring. add comments.
svn path=/trunk/matplotlib/; revision=7816
1 parent d603278 commit e0fce96

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

lib/matplotlib/testing/decorators.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ def failer(*args, **kwargs):
3939
def 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

0 commit comments

Comments
 (0)