This arises from a relative import in the test file. For example: ``` python from .submodule import something ``` The user should write ``` python from mypackage.submodule import something ``` The error message could be more helpful - it would be good to provide the offending line in the test file.