From 7d5ef64bfb26825658f1a9e0485366e4b3568a0c Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Fri, 19 Nov 2021 12:44:27 +0100 Subject: Cleanup: fix typos in comments and docs Contributed by luzpaz. Differential Revision: https://developer.blender.org/D13264 --- tests/performance/api/graph.py | 2 +- tests/python/bl_blendfile_liblink.py | 8 ++++---- tests/python/bl_blendfile_library_overrides.py | 6 +++--- tests/python/bl_keymap_validate.py | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) (limited to 'tests') diff --git a/tests/performance/api/graph.py b/tests/performance/api/graph.py index b04cd367449..f4d45fa858c 100644 --- a/tests/performance/api/graph.py +++ b/tests/performance/api/graph.py @@ -75,7 +75,7 @@ class TestGraph: revision_dates[revision] = int(entry.date) # Google Charts JSON data layout is like a spreadsheat table, with - # colums, rows and cells. We create one column for revision labels, + # columns, rows, and cells. We create one column for revision labels, # and one column for each test. cols = [] if chart_type == 'line': 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: -- cgit v1.2.3