(monkeypatch)
| 65 | |
| 66 | |
| 67 | def test_unsupported_platform_raises(monkeypatch) -> None: |
| 68 | monkeypatch.delenv("CMDOP_CORE_BINARY", raising=False) |
| 69 | monkeypatch.setattr(_locate.sys, "platform", "freebsd") |
| 70 | monkeypatch.setattr(_locate.platform, "machine", lambda: "x86_64") |
| 71 | with pytest.raises(FileNotFoundError, match="no prebuilt binary"): |
| 72 | locate_binary() |
nothing calls this directly
no test coverage detected