()
| 129 | |
| 130 | |
| 131 | def test_setitem_deleted_meanwhile() -> None: |
| 132 | d: Dict[str, object] = {} |
| 133 | monkeypatch = MonkeyPatch() |
| 134 | monkeypatch.setitem(d, "x", 2) |
| 135 | del d["x"] |
| 136 | monkeypatch.undo() |
| 137 | assert not d |
| 138 | |
| 139 | |
| 140 | @pytest.mark.parametrize("before", [True, False]) |
nothing calls this directly
no test coverage detected