Skip to content

Commit

Permalink
fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
dubusster committed Mar 6, 2024
1 parent 2b3c333 commit 9c2666d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/python/test_IRMovie.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from pathlib import Path
import random
from typing import Dict
from librir.video_io.utils import is_ir_file_corrupted, split_rush

import numpy as np
Expand Down Expand Up @@ -179,7 +180,7 @@ def test_flip_camera_calibration_when_no_calibration(movie: IRMovie):


@pytest.mark.parametrize("attrs", ({}, {"additional": 123}), ids=("none", "additional"))
def test_save_subset_of_movie_to_h264(movie: IRMovie, attrs: dict[str, int]):
def test_save_subset_of_movie_to_h264(movie: IRMovie, attrs: Dict[str, int]):
dest_filename = Path(f"{movie.filename}_subset.h264")
count = 1 if movie.images == 1 else movie.images // 2
frame_attributes = [{"additional_frame_attribute": i} for i in range(movie.images)]
Expand Down

0 comments on commit 9c2666d

Please sign in to comment.