Commit: 0fd94a1f5eea63f14a2e994c6b54cf247c0d85ba
Author: Campbell Barton
Date:   Sun Nov 20 10:42:17 2022 +1100
Branches: master
https://developer.blender.org/rB0fd94a1f5eea63f14a2e994c6b54cf247c0d85ba

Tests: enable element-wise multiplication for mathutils API tests

===================================================================

M       tests/python/bl_pyapi_mathutils.py

===================================================================

diff --git a/tests/python/bl_pyapi_mathutils.py 
b/tests/python/bl_pyapi_mathutils.py
index 23c97d7fc24..df98c42dc28 100644
--- a/tests/python/bl_pyapi_mathutils.py
+++ b/tests/python/bl_pyapi_mathutils.py
@@ -163,7 +163,6 @@ class MatrixTesting(unittest.TestCase):
         self.assertEqual(mat1 @ mat2, prod1)
         self.assertEqual(mat2 @ mat1, prod2)
 
-    """
     # tests for element-wise multiplication
 
     def test_matrix_mul(self):
@@ -182,7 +181,6 @@ class MatrixTesting(unittest.TestCase):
         self.assertEqual(mat1 * mat2, prod)
         self.assertEqual(mat2 * mat1, prod)
         self.assertRaises(ValueError, mat1.__mul__, mat3)
-    """
 
     def test_matrix_inverse(self):
         mat = Matrix(((1, 4, 0, -1),
@@ -280,7 +278,6 @@ class VectorTesting(unittest.TestCase):
         with self.assertRaises(TypeError):
             vec @= vec
 
-    """
     # tests for element-wise multiplication
 
     def test_vector_mul(self):
@@ -306,7 +303,6 @@ class VectorTesting(unittest.TestCase):
 
         vec *= 2
         self.assertEqual(vec, prod2)
-    """
 
 
 class QuaternionTesting(unittest.TestCase):

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to