my.core.common: move warn_if_empty to my.core.utils.itertools, cleanup and add more tests

This commit is contained in:
Dima Gerasimov 2024-08-14 12:56:48 +03:00
parent 90635c1d67
commit e7089a0961
5 changed files with 112 additions and 115 deletions

View file

@ -11,7 +11,7 @@ REQUIRES = ["git+https://github.com/seanbreckenridge/ipgeocache"]
from typing import Iterator
from my.core.common import Stats, warn_if_empty
from my.core import Stats, warn_if_empty
from my.ip.common import IP