diff --git a/tests/gaze/io/csv_test.py b/tests/gaze/io/csv_test.py index c64264ebe..cd5e35abd 100644 --- a/tests/gaze/io/csv_test.py +++ b/tests/gaze/io/csv_test.py @@ -27,20 +27,24 @@ ('kwargs', 'shape'), [ pytest.param( - {'file': 'tests/gaze/io/files/monocular_example.csv', - 'time_column': 'time', 'pixel_columns': ['x_left_pix', 'y_left_pix']}, + { + 'file': 'tests/gaze/io/files/monocular_example.csv', + 'time_column': 'time', 'pixel_columns': ['x_left_pix', 'y_left_pix'], + }, (10, 2), id='csv_mono_shape', ), pytest.param( - {'file': 'tests/gaze/io/files/binocular_example.csv', + { + 'file': 'tests/gaze/io/files/binocular_example.csv', 'time_column': 'time', 'pixel_columns': ['x_left_pix', 'y_left_pix', 'x_right_pix', 'y_right_pix'], - 'position_columns': ['x_left_pos', 'y_left_pos', 'x_right_pos', 'y_right_pos']}, + 'position_columns': ['x_left_pos', 'y_left_pos', 'x_right_pos', 'y_right_pos'], + }, (10, 3), id='csv_bino_shape', ), - ] + ], ) def test_shapes(kwargs, shape): gaze_dataframe = pm.gaze.from_csv(**kwargs) diff --git a/tests/gaze/io/files/binocular_example.csv b/tests/gaze/io/files/binocular_example.csv index e6672e317..ddfd55ab4 100644 --- a/tests/gaze/io/files/binocular_example.csv +++ b/tests/gaze/io/files/binocular_example.csv @@ -8,4 +8,4 @@ time,x_left_pix,y_left_pix,x_right_pix,y_right_pix,x_left_pos,y_left_pos,x_right 0,0,0,0,0,-23.104783, -13.489493,-23.104783, -13.489493 0,0,0,0,0,-23.104783, -13.489493,-23.104783, -13.489493 0,0,0,0,0,-23.104783, -13.489493,-23.104783, -13.489493 -0,0,0,0,0,-23.104783, -13.489493,-23.104783, -13.489493 \ No newline at end of file +0,0,0,0,0,-23.104783, -13.489493,-23.104783, -13.489493 diff --git a/tests/gaze/io/files/monocular_example.csv b/tests/gaze/io/files/monocular_example.csv index 87891121b..5493f10e4 100644 --- a/tests/gaze/io/files/monocular_example.csv +++ b/tests/gaze/io/files/monocular_example.csv @@ -8,4 +8,4 @@ time,x_left_pix,y_left_pix 0,0,0 0,0,0 0,0,0 -0,0,0 \ No newline at end of file +0,0,0