求助各位大神,搞不定了
执行pytest一直报错
C:UsersAdministrator>pytest
Traceback (most recent call last):
File "c:usersadministratorappdatalocalprogramspythonpython36lib
unpy.py", line 193, in _r
un_module_as_main
"__main__", mod_spec)
File "c:usersadministratorappdatalocalprogramspythonpython36lib
unpy.py", line 85, in _ru
n_code
exec(code, run_globals)
File "C:UsersAdministratorAppDataLocalProgramsPythonPython36Scriptspytest.exe\__main__.py
", line 4, in <module>
ImportError: cannot import name 'main'