Skip to content

Commit 63eae4b

Browse files
committed
replaced nose.assert_almost_equal with the numpy one, but
had to change places= to decimal=
1 parent 683546e commit 63eae4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/tests/test_compare_images.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def image_comparison_expect_rms(im1, im2, tol, expect_rms):
4040
assert results is None
4141
else:
4242
assert results is not None
43-
assert_almost_equal(expect_rms, results['rms'], places=4)
43+
assert_almost_equal(expect_rms, results['rms'], decimal=4)
4444

4545

4646
def test_image_compare_basic():

0 commit comments

Comments
 (0)