From 711fcf047658c2bcf0c2eeea51865f74a672ad3d Mon Sep 17 00:00:00 2001 From: zbeucler2018 <49871927+zbeucler2018@users.noreply.github.com> Date: Wed, 14 Aug 2024 20:34:53 -0400 Subject: [PATCH] ci debug --- tests/test_python/test_env.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_python/test_env.py b/tests/test_python/test_env.py index e6775da2..21891164 100644 --- a/tests/test_python/test_env.py +++ b/tests/test_python/test_env.py @@ -42,7 +42,8 @@ def create(state=retro.State.NONE, *args, **kwargs): yield create - created_env[0].close() + if created_env[0]: + created_env[0].close() del created_env retro.data.get_file_path = get_file_path_fn