学习unittest框架时,运行代码报错:
Launching pytest with arguments textcase.py::TestDemo --no-header --no-summa

原因:默认进入了pytest测试运行模式
解决办法:






运行成功

学习unittest框架时,运行代码报错:
Launching pytest with arguments textcase.py::TestDemo --no-header --no-summa
原因:默认进入了pytest测试运行模式
解决办法:
运行成功