1、官网:https://pypi.org/project/pytest/,下载
2、命令窗口执行:pip install pytest-7.2.2-py3-none-any.whl(同理删除:pip uninstall pytest-7.2.2-py3-none-any.whl)
3、进入 PyCharm/File -> Preference/Settings -> Tools -> Python Integrated Tools
, 点击 Default Test Runner 选择 Pytest。
标签:框架,whl,py3,7.2,pytest,自动化,pip,any From: https://www.cnblogs.com/xswt/p/17280219.html