Skip to content

Commit

Permalink
Fix optional type for py3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
sfmig committed Dec 10, 2024
1 parent d3ec68e commit 14b07f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_integration/test_inference.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import re
import subprocess
from pathlib import Path
from typing import Optional

import cv2
import pooch
Expand Down Expand Up @@ -72,7 +73,7 @@ def test_detect_and_track_video(
input_data_paths: dict,
tmp_path: Path,
flags_to_append: list,
no_timestamp_flag: str | None,
no_timestamp_flag: Optional[str],
):
"""Test the detect-and-track-video entry point when groundtruth is passed.
Expand Down

0 comments on commit 14b07f2

Please sign in to comment.