pytest.mark.parametrize中ids 导致编码乱码解决
pytest运用引进@pytest.mark.parametrize中ids 导致编码乱码解决
执行用例的名字会出现乱码:
结果:
创建个pytest.ini 文件
[pytest]
disable_test_id_escaping_and_forfeit_all_rights_to_community_support = True
结果:
本文来自博客园,作者:Titen,转载请注明原文链接:https://www.cnblogs.com/chengxiazuohua/p/17358697.html