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 4313d15 commit 6ce9211
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion xarray/tests/test_formatting_html.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
from __future__ import annotations

from typing import Any

import numpy as np
import pandas as pd
import pytest
Expand Down Expand Up @@ -264,7 +266,7 @@ def test_empty_mapping(self):
"""
Test with an empty mapping of children.
"""
children: 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 6ce9211

Please sign in to comment.