From 8883076e5cd75d2c5b60219e16c6b62740df68b6 Mon Sep 17 00:00:00 2001 From: sneakers-the-rat Date: Mon, 2 Sep 2024 18:20:55 -0700 Subject: [PATCH] we actually don't need to manually delete that since the tmp_dir should delete it on its own --- tests/fixtures.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/fixtures.py b/tests/fixtures.py index e74c9a6..6fbc5ad 100644 --- a/tests/fixtures.py +++ b/tests/fixtures.py @@ -179,6 +179,4 @@ def avi_video(tmp_path) -> Callable[[Tuple[int, int], int, bool], Path]: writer.release() return video_path - yield _make_video - - video_path.unlink(missing_ok=True) + return _make_video