core: cleanup deprecations, exclude from type checking and show runtime warnings
among affected things: - core.common.assert_never - core.common.cproperty - core.common.isoparse - core.common.mcachew - core.common.the - core.common.tzdatetime - core.compat.sqlite_backup
This commit is contained in:
parent
8834001fe7
commit
918e8ee551
24 changed files with 118 additions and 103 deletions
|
@ -10,7 +10,7 @@ def test_cachew() -> None:
|
|||
|
||||
settings.ENABLE = True # by default it's off in tests (see conftest.py)
|
||||
|
||||
from my.core.common import mcachew
|
||||
from my.core.cachew import mcachew
|
||||
|
||||
called = 0
|
||||
|
||||
|
@ -36,7 +36,7 @@ def test_cachew_dir_none() -> None:
|
|||
settings.ENABLE = True # by default it's off in tests (see conftest.py)
|
||||
|
||||
from my.core.cachew import cache_dir
|
||||
from my.core.common import mcachew
|
||||
from my.core.cachew import mcachew
|
||||
from my.core.core_config import _reset_config as reset
|
||||
|
||||
with reset() as cc:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue