Skip to content

Commit 757cef3

Browse files
tests(parsing): make typing 3.9 compatible
1 parent a4836c7 commit 757cef3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/func/parsing/test_params_templating.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"""
44

55
import random
6+
from typing import Optional
67

78
import pytest
89

@@ -744,7 +745,7 @@ def test_dynamic_params_with_global_params(self, tmp_dir, dvc):
744745
"process_type", ["foreach", "foreach_list", "matrix", None]
745746
)
746747
def test_dynamic_params_ambiguity_detection(
747-
self, tmp_dir, dvc, process_type: str | None
748+
self, tmp_dir, dvc, process_type: Optional[str]
748749
):
749750
"""Test ambiguity detection with dynamically loaded params."""
750751
# Create two param files with same key

0 commit comments

Comments
 (0)