Skip to content

Commit bf664ce

Browse files
committed
Fix error on Python 3.8 due to type
1 parent 57f5def commit bf664ce

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/utils.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,15 @@
55
but are used across multiple test files.
66
"""
77

8+
from __future__ import annotations
9+
810
import os
911
import subprocess
10-
from typing import Any, Dict
12+
from typing import Any
1113

1214

1315
def run_in_venv(
14-
venv_info: Dict[str, Any], cmd: str, check: bool = True, **kwargs: Any
16+
venv_info: dict[str, Any], cmd: str, check: bool = True, **kwargs: Any
1517
) -> subprocess.CompletedProcess[str]:
1618
"""
1719
Run a command in an isolated virtual environment.

0 commit comments

Comments
 (0)