在pytest中调用requests模块时出现的报错,降低pytest版本为4.6.11后解决。 python--version=3.6.0 pip install pytest==4.6.11
pip install pytest==4.6.11