From 00f2dc552b093102ffc5ce27ac469c47c46d3ffe Mon Sep 17 00:00:00 2001 From: b-peri Date: Mon, 16 Sep 2024 13:59:56 +0100 Subject: [PATCH] Removed uppercase letters from function names --- tests/test_unit/test_kinematics.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test_unit/test_kinematics.py b/tests/test_unit/test_kinematics.py index 99a101c5..1002522c 100644 --- a/tests/test_unit/test_kinematics.py +++ b/tests/test_unit/test_kinematics.py @@ -242,7 +242,7 @@ def invalid_spatial_dimensions_for_head_vector( @pytest.fixture -def valid_data_array_for_head_vector_with_NaNs( +def valid_data_array_for_head_vector_with_nans( valid_data_array_for_head_vector, ): """Return a position DataArray where position values are NaN for the @@ -317,8 +317,8 @@ def test_compute_2d_head_direction_vector_with_invalid_input( ) -def test_nan_behavior_2D_head_vector( - valid_data_array_for_head_vector_with_NaNs, +def test_nan_behavior_2d_head_vector( + valid_data_array_for_head_vector_with_nans, ): """Test that ``compute_head_direction_vector()`` generates the expected output for a valid input DataArray containing ``NaN`` @@ -326,7 +326,7 @@ def test_nan_behavior_2D_head_vector( (``left_ear``). """ head_vector = kinematics.compute_2d_head_direction_vector( - valid_data_array_for_head_vector_with_NaNs, "left_ear", "right_ear" + valid_data_array_for_head_vector_with_nans, "left_ear", "right_ear" ) assert ( np.isnan(head_vector.values[1, 0, :]).all()