From 95f2923b56b8fe0c0aa6acdb0345883746f574bf Mon Sep 17 00:00:00 2001 From: CarolinePascal Date: Wed, 24 Jun 2026 22:47:20 +0200 Subject: [PATCH] test(fix): fixing failing tests --- tests/annotations/test_frames.py | 1 + tests/datasets/test_image_writer.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/annotations/test_frames.py b/tests/annotations/test_frames.py index 5cb782748..1a626533f 100644 --- a/tests/annotations/test_frames.py +++ b/tests/annotations/test_frames.py @@ -47,6 +47,7 @@ class _FakeMeta: def __init__(self, video_keys: list[str], image_keys: list[str], video_path: Path | None = None) -> None: self.video_keys = video_keys self.camera_keys = [*video_keys, *image_keys] + self.depth_keys = [] self._video_path = video_path self.episodes = {0: {f"videos/{key}/from_timestamp": 0.0 for key in video_keys}} diff --git a/tests/datasets/test_image_writer.py b/tests/datasets/test_image_writer.py index 348291c9c..1cf2cf75c 100644 --- a/tests/datasets/test_image_writer.py +++ b/tests/datasets/test_image_writer.py @@ -344,7 +344,7 @@ def test_with_different_image_formats(tmp_path, img_array_factory): writer = AsyncImageWriter() try: image_array = img_array_factory() - formats = ["png", "jpeg", "bmp"] + formats = ["png", "tiff", "tif"] for fmt in formats: fpath = tmp_path / f"test_image.{fmt}" write_image(image_array, fpath)