报错如下

解决方法:

当前 pytest 版本 pytest 6.2.2, pytest-remotedata 即可
版本过低导致的,在 pytest 4.6 后版本改写了个方法造成的
更新 pytest-remotedata 即可

更新完成以后就可以正常运行了
Pytest AttributeError: ‘Function’ object has no attribute ‘get_marker’-Python 技术分享 Java技术分享 Python 爬虫技术_微信公众号:zeropython—昊天博客

HTTPX 基础教程-新乡seo|网站优化,网站建设_微信公众号:zeropython—昊天博客