diff options
author | Brecht Van Lommel <brecht@blender.org> | 2021-11-19 14:44:27 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2021-11-19 14:46:49 +0300 |
commit | 7d5ef64bfb26825658f1a9e0485366e4b3568a0c (patch) | |
tree | 6e335b7b85ff5dc152e087047fca7cd68db37d1d /tests/python | |
parent | eb071c9ff4e69b3b721a91bed3f0bf758fbe6c0e (diff) |
Cleanup: fix typos in comments and docs
Contributed by luzpaz.
Differential Revision: https://developer.blender.org/D13264
Diffstat (limited to 'tests/python')
-rw-r--r-- | tests/python/bl_blendfile_liblink.py | 8 | ||||
-rw-r--r-- | tests/python/bl_blendfile_library_overrides.py | 6 | ||||
-rw-r--r-- | tests/python/bl_keymap_validate.py | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/tests/python/bl_blendfile_liblink.py b/tests/python/bl_blendfile_liblink.py index f7bd2308061..4cf81c9beae 100644 --- a/tests/python/bl_blendfile_liblink.py +++ b/tests/python/bl_blendfile_liblink.py @@ -109,7 +109,7 @@ class TestBlendLibLinkSaveLoadBasic(TestBlendLibLinkHelper): assert(len(bpy.data.meshes) == 0) assert(orig_data != read_data) - # Simple link of a single ObData with obdata instanciation. + # Simple link of a single ObData with obdata instantiation. self.reset_blender() link_dir = os.path.join(output_lib_path, "Mesh") @@ -147,7 +147,7 @@ class TestBlendLibLinkSaveLoadBasic(TestBlendLibLinkHelper): assert(orig_data == read_data) - # Simple link of a single Collection, with Empty-instanciation. + # Simple link of a single Collection, with Empty-instantiation. self.reset_blender() link_dir = os.path.join(output_lib_path, "Collection") @@ -166,7 +166,7 @@ class TestBlendLibLinkSaveLoadBasic(TestBlendLibLinkHelper): assert(orig_data == read_data) - # Simple link of a single Collection, with ViewLayer-instanciation. + # Simple link of a single Collection, with ViewLayer-instantiation. self.reset_blender() link_dir = os.path.join(output_lib_path, "Collection") @@ -216,7 +216,7 @@ class TestBlendLibAppendBasic(TestBlendLibLinkHelper): assert(len(bpy.data.objects) == 0) assert(len(bpy.data.collections) == 0) # Scene's master collection is not listed here - # Simple append of a single ObData with obdata instanciation. + # Simple append of a single ObData with obdata instantiation. self.reset_blender() link_dir = os.path.join(output_lib_path, "Mesh") diff --git a/tests/python/bl_blendfile_library_overrides.py b/tests/python/bl_blendfile_library_overrides.py index 3c7c77ce339..e0da1082ee0 100644 --- a/tests/python/bl_blendfile_library_overrides.py +++ b/tests/python/bl_blendfile_library_overrides.py @@ -59,7 +59,7 @@ class TestLibraryOverrides(TestHelper, unittest.TestCase): self.assertIsNone(local_id.data.override_library) assert(len(local_id.override_library.properties) == 0) - ##### Generate an override property & operation automaticaly by editing the local override data. + ##### Generate an override property & operation automatically by editing the local override data. local_id.location.y = 1.0 local_id.override_library.operations_update() assert(len(local_id.override_library.properties) == 1) @@ -68,7 +68,7 @@ class TestLibraryOverrides(TestHelper, unittest.TestCase): assert(len(override_prop.operations) == 1) override_operation = override_prop.operations[0] assert(override_operation.operation == 'REPLACE') - # Setting location.y overridded all elements in the location array. -1 is a wildcard. + # Setting location.y overrode all elements in the location array. -1 is a wildcard. assert(override_operation.subitem_local_index == -1) ##### Reset the override to its linked reference data. @@ -86,7 +86,7 @@ class TestLibraryOverrides(TestHelper, unittest.TestCase): assert(len(override_prop.operations) == 1) override_operation = override_prop.operations[0] assert(override_operation.operation == 'REPLACE') - # Setting location.y overridded all elements in the location array. -1 is a wildcard. + # Setting location.y overrode all elements in the location array. -1 is a wildcard. assert(override_operation.subitem_local_index == -1) override_property = local_id.override_library.properties[0] diff --git a/tests/python/bl_keymap_validate.py b/tests/python/bl_keymap_validate.py index 88c61df6125..ebc35c1178c 100644 --- a/tests/python/bl_keymap_validate.py +++ b/tests/python/bl_keymap_validate.py @@ -34,7 +34,7 @@ This catches the following kinds of issues: An escape key could have the value "NORTH" instead of "PRESS". This works by taking the keymap data (before it's loaded into Blender), -then comparing it with that same keymap after exporting and imporing. +then comparing it with that same keymap after exporting and importing. NOTE: |