Skip to content

Commit

Permalink
added dict[any, any] as type hint for children
Browse files Browse the repository at this point in the history
  • Loading branch information
eni-awowale committed Apr 11, 2024
1 parent a5e143a commit 4313d15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xarray/tests/test_formatting_html.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ def test_empty_mapping(self):
"""
Test with an empty mapping of children.
"""
children = {} # type: Dict[Any, Any]
children: dict[any, any] = {}
assert self.func(children) == (
"<div style='display: inline-grid; grid-template-columns: 100%'>" "</div>"
)
Expand Down

0 comments on commit 4313d15

Please sign in to comment.