core.common: move away import related stuff to my.core.utils.imports
moving without backward compatibility, since it's extremely unlikely they are used for any external modules in fact, unclear if these methods still have much value at all, but keeping for now just in case
This commit is contained in:
parent
66c08a6c80
commit
770dba5506
7 changed files with 44 additions and 43 deletions
|
@ -15,7 +15,7 @@ def test_hpi(prepare: str) -> None:
|
|||
assert len(list(get_entries())) > 1
|
||||
|
||||
def test_orger(prepare: str, tmp_path: Path) -> None:
|
||||
from my.core.common import import_from, import_file
|
||||
from my.core.utils.imports import import_from, import_file
|
||||
om = import_file(ROOT / 'orger/modules/polar.py')
|
||||
# reload(om)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue