I\'m trying to follow PEP 328, with the following directory structure:
pkg/ __init__.py components/ core.py __init__.py tests/ core_test.py
Yes. You're not using it as a package.
python -m pkg.tests.core_test