02-pytest运行报错

# 运行时提示:  
  pytest - Windows fatal exception: code 0x8001010d

# 解决方法:pytest.ini 中加上 no:faulthandler
  addopts = -vs -p no:faulthandler --html ../report/re.html  
# 运行时警告: 
     DeprecationWarning: invalid escape sequence \d

# 解决方法:加上: -p no:warnings忽略警告
      addopts = -vs -p no:warnings --html ../report/re.html
posted @ 2023-04-20 17:43  测试圈的彭于晏  阅读(413)  评论(0)    收藏  举报