diff options
author | Hans Goudey <h.goudey@me.com> | 2020-12-30 05:46:29 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2020-12-30 05:46:29 +0300 |
commit | 761ef45a24e38902d5a316c6eb487cb16aaa4310 (patch) | |
tree | f72e1b4b37a03bae28de5963ebf0f6b8d7b5275a /tests/python | |
parent | c1740e9ad02da17829a30c8755790729e083cba5 (diff) |
Cleanup: Fix typo in tests error message
Diffstat (limited to 'tests/python')
-rw-r--r-- | tests/python/modules/mesh_test.py | 4 |
1 files changed, 2 insertions, 2 deletions
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)) |