diff --git a/tests/coverage/coverage_report/index_template.html b/tests/coverage/coverage_report/index_template.html index f2517444ea5..b66cc043a9e 100644 --- a/tests/coverage/coverage_report/index_template.html +++ b/tests/coverage/coverage_report/index_template.html @@ -388,7 +388,7 @@ } // Makes sure that the html elements for a specific row (and all its parents) have been created. - // This data is gnerated lazily to improve start-up time. + // This data is generated lazily to improve start-up time. function ensure_dom_for_row(row) { if (row.dom_elem) { return; diff --git a/tests/files/io_tests/readme.txt b/tests/files/io_tests/readme.txt index e6de4b8784f..fbc0aee8141 100644 --- a/tests/files/io_tests/readme.txt +++ b/tests/files/io_tests/readme.txt @@ -34,7 +34,7 @@ SIMPLE TESTS Rotation Scale - HIERARCY + HIERARCHY Parent_Child Parent_Multiple Child diff --git a/tests/files/modeling/mesh_ops_test.py b/tests/files/modeling/mesh_ops_test.py index 1765a7bff04..d02e07fbc37 100644 --- a/tests/files/modeling/mesh_ops_test.py +++ b/tests/files/modeling/mesh_ops_test.py @@ -44,7 +44,7 @@ class TestSpec: op: string - name of a function in bpy.ops.mesh test_obj: string - name of the object to apply the test to expected_obj: string - name of the object that has the expected result - select: string - should be V, E, or F followed by space seperated indices of desired selection + select: string - should be V, E, or F followed by space separated indices of desired selection params: string - space-separated name=val pairs giving operator arguments """ diff --git a/tests/performance/tests/bpy_rna.py b/tests/performance/tests/bpy_rna.py index fe5ca185077..91d95ea7a1b 100644 --- a/tests/performance/tests/bpy_rna.py +++ b/tests/performance/tests/bpy_rna.py @@ -172,7 +172,7 @@ class BPYRNATest(api.Test): def generate(env): return [ BPYRNATest("ID Instance Access", _run_id_instance_access, 10000 * 1000), - BPYRNATest("Static RNA Stuct Instance Access", _run_static_subdata_instance_access, 10000 * 1000), + BPYRNATest("Static RNA Struct Instance Access", _run_static_subdata_instance_access, 10000 * 1000), BPYRNATest("IDProperty Access", _run_idproperty_access, 10000 * 1000), BPYRNATest("Py-Defined Struct Register", _run_runtime_group_register_access, 100 * 1000, {"do_register": True}), diff --git a/tests/python/bl_blendfile_library_overrides.py b/tests/python/bl_blendfile_library_overrides.py index 133b01d8455..8a19cb5b36d 100644 --- a/tests/python/bl_blendfile_library_overrides.py +++ b/tests/python/bl_blendfile_library_overrides.py @@ -186,7 +186,7 @@ class TestLibraryOverridesComplex(TestHelper): collection_sub = bpy.data.collections.new(self.__class__.DATA_NAME_SAMENAME_CONTAINER) collection_container.children.link(collection_sub) - # 'Samename' objects are purposedly not added to the collection here. + # 'Samename' objects are purposely not added to the collection here. # Sub-container collections are empty by default. collection_subcontainer_0 = bpy.data.collections.new(self.__class__.DATA_NAME_SUBCONTAINER_0) diff --git a/tests/python/bl_blendfile_relationships.py b/tests/python/bl_blendfile_relationships.py index e5843b5a975..a23ac6e4c4a 100644 --- a/tests/python/bl_blendfile_relationships.py +++ b/tests/python/bl_blendfile_relationships.py @@ -301,7 +301,7 @@ def argparse_create(): import argparse # When --help or no args are given, print this help - description = "Test basic realtionship info of loaded data." + description = "Test basic relationship info of loaded data." parser = argparse.ArgumentParser(description=description) parser.add_argument( "--src-test-dir", diff --git a/tests/python/bl_blendfile_utils.py b/tests/python/bl_blendfile_utils.py index 04009de487f..b2fb5d9744c 100644 --- a/tests/python/bl_blendfile_utils.py +++ b/tests/python/bl_blendfile_utils.py @@ -51,7 +51,7 @@ class TestHelper(unittest.TestCase): class TestBlendLibLinkHelper(TestHelper): """ - Generate relatively complex data layout accross several blendfiles. + Generate relatively complex data layout across several blendfiles. Useful for testing link/append/etc., but also data relationships e.g. """ diff --git a/tests/python/bl_pyapi_idprop.py b/tests/python/bl_pyapi_idprop.py index b281c733a5e..62cfc1c8c32 100644 --- a/tests/python/bl_pyapi_idprop.py +++ b/tests/python/bl_pyapi_idprop.py @@ -300,7 +300,7 @@ class TestIdPropertyDynamicRNA(TestHelper, unittest.TestCase): # PropertyGroup type always exists. self.assertTrue('dynrna_prop' in self.id.bl_system_properties_get()) # However, the underlying idprop data for each property of the PropertyGroup - # does not exist untill set through an RNA property access. + # does not exist until set through an RNA property access. self.assertTrue(len(self.id.bl_system_properties_get()['dynrna_prop']) == 0) self.id.dynrna_prop.string_prop = "Test String" @@ -388,7 +388,7 @@ class TestIdPropertyDynamicRNA(TestHelper, unittest.TestCase): # Raw-set back to default value. self.id.bl_system_properties_get()['dynrna_prop']['string_prop_transform'] = "test" - # Now set_transform will return 12-char string, wich is also invalid and discarded. + # Now set_transform will return 12-char string, which is also invalid and discarded. stderr, sys.stderr = sys.stderr, io.StringIO() self.id.dynrna_prop.string_prop_transform = "test!!" self.assertTrue("ValueError" in sys.stderr.getvalue() and diff --git a/tests/python/bl_rigging_symmetrize.py b/tests/python/bl_rigging_symmetrize.py index 23ff2edc9d9..ec381e012b1 100644 --- a/tests/python/bl_rigging_symmetrize.py +++ b/tests/python/bl_rigging_symmetrize.py @@ -14,7 +14,7 @@ import bpy def check_loc_rot_scale(self, bone, exp_bone): - # Check if posistions are the same + # Check if positions are the same self.assertEqualVector( bone.head, exp_bone.head, "Head position", bone.name) self.assertEqualVector( diff --git a/tests/python/bl_rna_defaults.py b/tests/python/bl_rna_defaults.py index b027b3d0871..d42597a1e59 100644 --- a/tests/python/bl_rna_defaults.py +++ b/tests/python/bl_rna_defaults.py @@ -20,7 +20,7 @@ def as_float_32(f): def repr_float_precision(f, round_fn): """ - Get's the value which was most likely entered by a human in C. + Gets the value which was most likely entered by a human in C. Needed since Python will show trailing precision from a 32bit float. """ diff --git a/tests/python/bl_rna_paths.py b/tests/python/bl_rna_paths.py index a012f5dcc8c..3cbe2840a2c 100644 --- a/tests/python/bl_rna_paths.py +++ b/tests/python/bl_rna_paths.py @@ -108,7 +108,7 @@ class TestRnaAncestors(unittest.TestCase): # Do not error for now. Only ensure that if there is a rna_ancestors array, it is valid. return if repr(rna_ancestors[0]) != ancestors_sub[0]: - # Do not error for now. There are valid cases wher the data is 'rebased' on a new 'root' ID. + # Do not error for now. There are valid cases where the data is 'rebased' on a new 'root' ID. return if repr(p_data) in ancestors_sub: # Loop back onto itself, skip. diff --git a/tests/python/cycles_render_tests.py b/tests/python/cycles_render_tests.py index 0a7ceb814be..5809ac37d42 100644 --- a/tests/python/cycles_render_tests.py +++ b/tests/python/cycles_render_tests.py @@ -282,7 +282,7 @@ def main(): report.set_fail_threshold(0.032) # Layer mixing is different between SVM and OSL, so a few tests have - # noticably different noise causing OSL Principled BSDF tests to fail. + # noticeably different noise causing OSL Principled BSDF tests to fail. if ((args.osl == 'all') and (test_dir_name == 'principled_bsdf')): report.set_fail_threshold(0.06) diff --git a/tests/python/sculpt_paint/brush_strength_curves_test.py b/tests/python/sculpt_paint/brush_strength_curves_test.py index bcccfd6bfdc..57e7dd9bfcf 100644 --- a/tests/python/sculpt_paint/brush_strength_curves_test.py +++ b/tests/python/sculpt_paint/brush_strength_curves_test.py @@ -110,7 +110,7 @@ class BrushCurvesTest(unittest.TestCase): # Note, depending on if the tests are run with asserts enabled or not, the test may fail before this point # inside blender itself. all_valid = all([not math.isinf(pos) and not math.isnan(pos) for pos in position_data]) - self.assertTrue(all_valid, "All position componentes should be rational values") + self.assertTrue(all_valid, "All position components should be rational values") def test_smooth_preset_curve_creates_valid_stroke(self): bpy.context.tool_settings.sculpt.brush.curve_distance_falloff_preset = 'SMOOTH' diff --git a/tests/python/ui_simulate/modules/easy_keys.py b/tests/python/ui_simulate/modules/easy_keys.py index cf155ed69fe..5060c57cd1c 100644 --- a/tests/python/ui_simulate/modules/easy_keys.py +++ b/tests/python/ui_simulate/modules/easy_keys.py @@ -263,7 +263,7 @@ class EventGenerate: def text_unicode(self, text): # Since the only purpose of this key-press is to enter text - # the key can be almost anything, use a key which isn't likely to be assigned ot any other action. + # the key can be almost anything, use a key which isn't likely to be assigned to any other action. # # If it were possible `EVT_UNKNOWNKEY` would be most correct # as dead keys map to this and still enter text. diff --git a/tests/python/view_layer/view_layer_common.py b/tests/python/view_layer/view_layer_common.py index 5eddcfd59bb..20e377a1a1a 100644 --- a/tests/python/view_layer/view_layer_common.py +++ b/tests/python/view_layer/view_layer_common.py @@ -139,7 +139,7 @@ def get_scene_collection(collection): def get_scene_collections(scene): - """Return all the scene collections ahd their data""" + """Return all the scene collections and their data""" master_collection = scene.get_pointer(b'collection') return get_scene_collection(master_collection)