Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2021-11-19 14:44:27 +0300
committerBrecht Van Lommel <brecht@blender.org>2021-11-19 14:46:49 +0300
commit7d5ef64bfb26825658f1a9e0485366e4b3568a0c (patch)
tree6e335b7b85ff5dc152e087047fca7cd68db37d1d /tests
parenteb071c9ff4e69b3b721a91bed3f0bf758fbe6c0e (diff)
Cleanup: fix typos in comments and docs
Contributed by luzpaz. Differential Revision: https://developer.blender.org/D13264
Diffstat (limited to 'tests')
-rw-r--r--tests/performance/api/graph.py2
-rw-r--r--tests/python/bl_blendfile_liblink.py8
-rw-r--r--tests/python/bl_blendfile_library_overrides.py6
-rw-r--r--tests/python/bl_keymap_validate.py2
4 files changed, 9 insertions, 9 deletions
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: