问题:ImportError: cannot import name 'import_path' from '_pytest.doctest'
官网github做出的bug修复:
原因:Pytest8.0.1+有这个错误,只需要降低Pytest版本就可以
解决方案:pip install pytest==8.0.0
问题:ImportError: cannot import name 'import_path' from '_pytest.doctest'
官网github做出的bug修复:
原因:Pytest8.0.1+有这个错误,只需要降低Pytest版本就可以
解决方案:pip install pytest==8.0.0