Creating a BGE staging branch.
[blender.git] / source / tests / bl_pyapi_mathutils.py
index b2e9f27d9ec5cc18dd3cccc36ac250da498d3a47..1754644e813db03a7279b8f4039fdebd15dbdb4c 100644 (file)
@@ -89,7 +89,7 @@ class MatrixTesting(unittest.TestCase):
                             (19, 26, 33),
                             (29, 40, 51)))
 
                             (19, 26, 33),
                             (29, 40, 51)))
 
-        self.assertEqual(mat1*mat2, prod_mat1)
+        self.assertEqual(mat1 * mat2, prod_mat1)
         self.assertEqual(mat2 * mat1, prod_mat2)
 
     def test_mat4x4_vec3D_mult(self):
         self.assertEqual(mat2 * mat1, prod_mat2)
 
     def test_mat4x4_vec3D_mult(self):
@@ -111,8 +111,8 @@ class MatrixTesting(unittest.TestCase):
 
         vec = Vector((1, 2))
 
 
         vec = Vector((1, 2))
 
-        self.assertRaises(TypeError, mat1.__mul__, vec)
-        self.assertRaises(ValueError, vec.__mul__, mat1)  # Why are these different?!
+        self.assertRaises(ValueError, mat1.__mul__, vec)
+        self.assertRaises(ValueError, vec.__mul__, mat1)
 
         mat2 = Matrix(((1, 2),
                        (-2, 3)))
 
         mat2 = Matrix(((1, 2),
                        (-2, 3)))