tkonolige opened a new issue #9868:
URL: https://github.com/apache/tvm/issues/9868
```
$ ./tests/scripts/task_python_integration.sh
... output removed ...
=========================================================== test session
starts ============================================================
platform linux -- Python 3.8.12, pytest-6.2.5, py-1.10.0, pluggy-1.0.0 --
/usr/local/bin/python3
cachedir: .pytest_cache
rootdir: /home/tristan/octoml/tvm
plugins: forked-1.4.0, xdist-2.5.0
collected 29 items / 1 error / 28 selected
================================================================== ERRORS
==================================================================
____________________________________ ERROR collecting
tests/python/integration/test_arm_mprofile_dsp.py
____________________________________
ImportError while importing test module
'/home/tristan/octoml/tvm/tests/python/integration/test_arm_mprofile_dsp.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/local/lib/python3.8/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/python/integration/test_arm_mprofile_dsp.py:22: in <module>
from tests.python.relay.aot.aot_test_utils import (
E ModuleNotFoundError: No module named 'tests.python'
```
Imports like this are not valid and occur in many different test files. We
could use relative imports to solve this problem, but then each test file
cannot be run independently. I don't know what a good solution would be.
@areusch
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]