[Bf-blender-cvs] [761ef45a24e] master: Cleanup: Fix typo in tests error message

Hans Goudey noreply at git.blender.org
Wed Dec 30 03:46:39 CET 2020


Commit: 761ef45a24e38902d5a316c6eb487cb16aaa4310
Author: Hans Goudey
Date:   Tue Dec 29 20:46:29 2020 -0600
Branches: master
https://developer.blender.org/rB761ef45a24e38902d5a316c6eb487cb16aaa4310

Cleanup: Fix typo in tests error message

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

M	tests/python/modules/mesh_test.py

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

diff --git a/tests/python/modules/mesh_test.py b/tests/python/modules/mesh_test.py
index 6671918a206..b1dadfdb5af 100644
--- a/tests/python/modules/mesh_test.py
+++ b/tests/python/modules/mesh_test.py
@@ -251,7 +251,7 @@ class MeshTest:
             bpy.data.objects.remove(self.expected_object, do_unlink=True)
             evaluated_test_object.name = expected_object_name
 
-            # Save file
+            # Save file.
             bpy.ops.wm.save_as_mainfile(filepath=bpy.data.filepath)
 
             self._test_updated = True
@@ -482,7 +482,7 @@ class MeshTest:
         try:
             retval = object_operator(**operator.operator_parameters)
         except AttributeError:
-            raise AttributeError("bpy.ops.mesh has no attribute {}".format(operator.operator_name))
+            raise AttributeError("bpy.ops.object has no attribute {}".format(operator.operator_name))
         except TypeError as ex:
             raise TypeError("Incorrect operator parameters {!r} raised {!r}".format(operator.operator_parameters, ex))



More information about the Bf-blender-cvs mailing list