Skip to content

Commit

Permalink
Add missing type hint to resolve mypy type inference failure.
Browse files Browse the repository at this point in the history
  • Loading branch information
obi1kenobi committed Jan 9, 2021
1 parent 2d202de commit 0495e84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arviz/tests/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ def check_multiple_attrs(
in ``sample_stats``, also against what was expected.
"""
failed_attrs = []
failed_attrs: List[Union[str, Tuple[str, str]]] = []
for dataset_name, attributes in test_dict.items():
if dataset_name.startswith("~"):
if hasattr(parent, dataset_name[1:]):
Expand Down

0 comments on commit 0495e84

Please sign in to comment.