uj5u.com熱心網友回復:
如果程序中報錯AttributeError: module 'allure' has no attribute 'severity_level',這很可能因為你之前安裝了allure-pytest的低版本,需要卸載掉,然后安裝比較新的版本;
命令執行如下:
pip uninstall pytest-allure-adaptor
pip install allure-pytest
該問題告訴我們,需要經常關注自己常用庫檔案是否有重大更新,一般可以通過升級來解決此類兼容性問題
uj5u.com熱心網友回復:
謝謝大佬,大佬帶路,轉載請註明出處,本文鏈接:https://www.uj5u.com/yidong/77126.html
標籤:Android
