我已经创建了一个单独的文件来保存python文件的一些自定义问题类,并在执行以下命令时:
coverage run test_syntax.py
它打印出以下错误,如中所示
this
Travis CI构建:
Traceback (most recent call last):
File "test_syntax.py", line 9, in
from ros import main as s
File "/home/travis/build/Richienb/ROS-Code/src/ros/main.py", line 57, in
from errors import ConversionError, WrongInput, UnexpectedError
ModuleNotFoundError: No module named 'errors'
你可以找到所有的代码
here
而且,我已经在
src
目录