From 617d22a8a56e82fc0ed70f94d7401239b147af77 Mon Sep 17 00:00:00 2001 From: Tobias Megies Date: Mon, 10 Mar 2014 13:29:27 +0100 Subject: [PATCH] fix a bug introduced in c998561d6cc1236 changing the message formatting to use previously assembled results dictionary broke due to the tolerance not being included in the results dictionary. --- lib/matplotlib/testing/compare.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/matplotlib/testing/compare.py b/lib/matplotlib/testing/compare.py index 5769cb7123c2..ecce3e637324 100644 --- a/lib/matplotlib/testing/compare.py +++ b/lib/matplotlib/testing/compare.py @@ -335,7 +335,7 @@ def compare_images(expected, actual, tol, in_decorator=False): save_diff_image(expected, actual, diff_image) results = dict(rms=rms, expected=str(expected), - actual=str(actual), diff=str(diff_image)) + actual=str(actual), diff=str(diff_image), tol=tol) if not in_decorator: # Then the results should be a string suitable for stdout.