From a8ff3ed81f31a5b9a6480cdd2d3c0baad132a124 Mon Sep 17 00:00:00 2001 From: Kacper Sagnowski Date: Thu, 18 Sep 2025 16:40:48 +0200 Subject: [PATCH] Fix python type hints not compatible with Python 3.9 --- tests/split_rendering/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/split_rendering/utils.py b/tests/split_rendering/utils.py index ffb14eb55a..1d54d24e08 100644 --- a/tests/split_rendering/utils.py +++ b/tests/split_rendering/utils.py @@ -34,7 +34,7 @@ import re import sys from pathlib import Path from tempfile import TemporaryDirectory -from typing import Tuple +from typing import Tuple, Optional import numpy as np import pytest @@ -185,7 +185,7 @@ def run_full_chain_split_rendering( get_ssnr=False, get_odg=False, get_odg_bin=False, - delay_profile: Path | None=None, + delay_profile: Optional[Path]=None, ) -> str: """ Runs the full split rendering chain consisting of -- GitLab