From f2c151f94716765f24142c5c4a474f91b92cb025 Mon Sep 17 00:00:00 2001 From: Barnaby Rowe Date: Tue, 1 May 2012 14:40:21 -0700 Subject: [PATCH] v. minor mods to err_msg typos (#117) --- tests/test_Image.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_Image.py b/tests/test_Image.py index 4718ace8589..9981efe5bee 100644 --- a/tests/test_Image.py +++ b/tests/test_Image.py @@ -352,7 +352,7 @@ def test_Image_inplace_subtract(): image2 = image2_init_func((2 * ref_array).astype(types[j])) image2 -= image1 np.testing.assert_array_equal(ref_array.astype(types[i]), image1.array, - err_msg="Inplace add in Image class does not match reference for dtypes = " + err_msg="Inplace subtract in Image class does not match reference for dtypes = " +str(types[i])+" and "+str(types[j])) def test_Image_inplace_multiply(): @@ -380,7 +380,7 @@ def test_Image_inplace_multiply(): image2 = image2_init_func((2 * ref_array).astype(types[j])) image2 *= image1 np.testing.assert_array_equal((2 * ref_array**2).astype(types[i]), image2.array, - err_msg="Inplace add in Image class does not match reference for dtypes = " + err_msg="Inplace multiply in Image class does not match reference for dtypes = " +str(types[i])+" and "+str(types[j])) def test_Image_inplace_divide(): @@ -408,7 +408,7 @@ def test_Image_inplace_divide(): image2 = image2_init_func((2 * (ref_array+1)**2).astype(types[j])) image2 /= image1 np.testing.assert_array_equal((2 * (ref_array+1)).astype(types[i]), image2.array, - err_msg="Inplace add in Image class does not match reference for dtypes = " + err_msg="Inplace divide in Image class does not match reference for dtypes = " +str(types[i])+" and "+str(types[j]))