From c0eab56d3bf32464c36a7b28b5c50b662cccd4f4 Mon Sep 17 00:00:00 2001 From: Antonin Raffin Date: Tue, 7 Jan 2025 13:43:49 +0100 Subject: [PATCH] Sort file list for consistent results --- tests/test_vec_envs.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_vec_envs.py b/tests/test_vec_envs.py index a390145..114eaeb 100644 --- a/tests/test_vec_envs.py +++ b/tests/test_vec_envs.py @@ -659,6 +659,7 @@ def test_video_recorder(tmp_path): # print all videos in video_folder, should be multiple step 0-100, step 1024-1124 video_files = list(map(str, tmp_path.glob("*.mp4"))) + video_files.sort(reverse=True) # Clean up vec_env.close()