报错如下

解决方法:

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

更新完成以后就可以正常运行了
Pytest AttributeError: ‘Function’ object has no attribute ‘get_marker’-园艺资材批发美乐棵,奥绿肥,花多多,赤玉土,品式泥炭

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