You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
在manage.py同级目录执行命令python manage.py runtest --report-args-help html报如下错误。
Traceback (most recent call last):
File "manage.py", line 24, in
ManagementTools().run()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/testbase/management.py", line 687, in run
cmds = self._load_cmds()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/testbase/management.py", line 640, in _load_cmds
cmds += self._load_cmd_from_module(sys.modules[name])
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/testbase/management.py", line 663, in _load_cmd_from_module
cmds.sort(lambda x, y:cmp_func(x.name, y.name))
TypeError: must use keyword argument for key function
The text was updated successfully, but these errors were encountered:
环境:
macOS: 10.14.5
python3.6
IDE:Pycharm
在manage.py同级目录执行命令python manage.py runtest --report-args-help html报如下错误。
Traceback (most recent call last):
File "manage.py", line 24, in
ManagementTools().run()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/testbase/management.py", line 687, in run
cmds = self._load_cmds()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/testbase/management.py", line 640, in _load_cmds
cmds += self._load_cmd_from_module(sys.modules[name])
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/testbase/management.py", line 663, in _load_cmd_from_module
cmds.sort(lambda x, y:cmp_func(x.name, y.name))
TypeError: must use keyword argument for key function
The text was updated successfully, but these errors were encountered: