~conftest.py
@pytest.fixture()
def fix_demo_ifMan(request):
    value11, value22 = getattr(request.function, 'value_list',(4,5))#问题:是否有request.function的写法?
    print(value11,value22)
    aa = IsManorOther.IfPersonOrZoo(value11,value22)
    return aa.ifMan()


↙↙↙阅读原文可查看相关链接,并与作者交流