Closed jakobchwastek closed 7 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
9cada8b
) 100.00% compared to head (619d0fd
) 100.00%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
The pix2deg_distance_experiment_and_distance_column_defaults_to_column
test is failing now because we treat the warning it is triggering as error. Any suggestions on how to handle this? I would like to keep the test
The
pix2deg_distance_experiment_and_distance_column_defaults_to_column
test is failing now because we treat the warning it is triggering as error. Any suggestions on how to handle this? I would like to keep the test
Move the test case to ta new function and add the expected warning to the parameters:
def test_gaze_transform_expected_frame_warning(
gaze_init_kwargs, transform_method, transform_kwargs, expected_result, expected_warning,
):
with pytest.warns(expected_warning) as excinfo:
gaze = pm.GazeDataFrame(**gaze_init_kwargs)
gaze.transform(transform_method, **transform_kwargs)
assert_frame_equal(gaze.frame, expected.frame)
Should be done
fix #610