Skip to content

Commit

Permalink
dict -> Dict for python 3.8 type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
analog-cbarber committed Apr 22, 2024
1 parent b7417bf commit f75ce89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

import tempfile
from pathlib import Path
from typing import Any
from typing import Any, Dict

import pytest

Expand Down Expand Up @@ -154,7 +154,7 @@ def check_settings(settings: Whl2CondaSettings, tmp_path: Path) -> None:

settings_dict = settings.to_dict()

def _check_dict(d: dict[str, Any], prefix="") -> None:
def _check_dict(d: Dict[str, Any], prefix="") -> None:
for k, v in d.items():
key = f"{prefix}{k}"
if isinstance(v, dict):
Expand Down

0 comments on commit f75ce89

Please sign in to comment.