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 committed by karlicoss
parent 770dba5506
commit 06084a8787
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