(self, monkeypatch: MonkeyPatch)
| 84 | assert os.path.qweqwe == 42 # type: ignore |
| 85 | |
| 86 | def test_delattr(self, monkeypatch: MonkeyPatch) -> None: |
| 87 | monkeypatch.delattr("os.path.abspath") |
| 88 | assert not hasattr(os.path, "abspath") |
| 89 | monkeypatch.undo() |
| 90 | assert os.path.abspath |
| 91 | |
| 92 | |
| 93 | def test_delattr() -> None: |