Skip to content

Commit

Permalink
fix test case
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonalaird committed Oct 4, 2024
1 parent dbdb9b3 commit 71a7bd6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/unit/tools/test_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ def test_save_invalid_frame():
try:
save_video(frames, "tmp.mp4")
except ValueError as e:
assert str(e) == "Frame is not a valid NumPy array with shape (H, W, C)"
assert str(e) == "A frame is not a valid NumPy array with shape (H, W, C)"
2 changes: 1 addition & 1 deletion vision_agent/tools/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -1847,7 +1847,7 @@ def save_video(
frame.shape[0] == 0 and frame.shape[1] == 0
):
raise ValueError(
"The frame is not a valid NumPy array with shape (H, W, C)"
"A frame is not a valid NumPy array with shape (H, W, C)"
)

if output_video_path is None:
Expand Down

0 comments on commit 71a7bd6

Please sign in to comment.