Skip to content

Commit ec1b472

Browse files
committed
Use Iterator from collections.abs
The symbol in `typing` is deprecated. Signed-off-by: Leandro Lucarella <[email protected]>
1 parent ca81c50 commit ec1b472

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_metadata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
"""Tests for the microgrid metadata types."""
55

6-
from typing import Iterator
6+
from collections.abc import Iterator
77
from unittest.mock import MagicMock, patch
88
from zoneinfo import ZoneInfo
99

0 commit comments

Comments
 (0)