pytest运行报错 TypeError: attrib() got an unexpected keyword argument 'convert'

attr版本回退

pip install attrs==19.1.0

或者升级pytest(建议)

python -m pip install --upgrade pytest
posted @ 2022-04-08 15:17  星涅爱别离  阅读(369)  评论(0编辑  收藏  举报