From 5e33fcc5c89c0a8b8a7b21732866c75edc35f4f1 Mon Sep 17 00:00:00 2001 From: Dillon Laird Date: Fri, 4 Oct 2024 13:31:55 -0700 Subject: [PATCH] formatting fix --- tests/unit/tools/test_tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/tools/test_tools.py b/tests/unit/tools/test_tools.py index 5fc82b84..292d2eae 100644 --- a/tests/unit/tools/test_tools.py +++ b/tests/unit/tools/test_tools.py @@ -52,6 +52,7 @@ def test_save_null_video(): except ValueError as e: assert str(e) == "Frames must be a list of NumPy arrays" + def test_save_empty_list(): frames = [] try: @@ -66,4 +67,3 @@ def test_save_invalid_frame(): save_video(frames, "tmp.mp4") except ValueError as e: assert str(e) == "Frame is not a valid NumPy array with shape (H, W, C)" -