首页 / PYTHON / python – 测试类方法中的pytest monkeypatch.setattr()