This page shows Python examples of _pytest.monkeypatch. ... 1 monkeypatch = MonkeyPatch() pytest.raises(AttributeError, monkeypatch.setattr, A, "notexists", ...
確定! 回上一頁