From 2f4af32d3f69d571c7c959a39745dab3fb0e4755 Mon Sep 17 00:00:00 2001 From: Cadene Date: Thu, 11 Apr 2024 13:21:06 +0000 Subject: [PATCH] small fix --- tests/test_datasets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_datasets.py b/tests/test_datasets.py index f921062b..37e320a2 100644 --- a/tests/test_datasets.py +++ b/tests/test_datasets.py @@ -157,7 +157,7 @@ def test_load_data_with_delta_timestamps_within_tolerance(): tol = 0.04 data, is_pad = load_data_with_delta_timestamps(data_dict, data_ids_per_episode, delta_timestamps, key, current_ts, episode, tol) assert not is_pad.any(), "Unexpected padding detected" - assert torch.equal(data, torch.tensor([0, 2, 4])), "Data does not match expected values" + assert torch.equal(data, torch.tensor([0, 2, 3])), "Data does not match expected values" def test_load_data_with_delta_timestamps_outside_tolerance_inside_episode_range(): data_dict = {