We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
FFIWrapper.getwinerror
1 parent 65144c7 commit 454f588Copy full SHA for 454f588
1 file changed
src/trio/_core/_tests/test_windows.py
@@ -39,7 +39,8 @@
39
def test_winerror(monkeypatch: pytest.MonkeyPatch) -> None:
40
# this is unfortunately needed as the generated ffi is read-only
41
class FFIWrapper:
42
- pass
+ def getwinerror(self) -> None:
43
+ raise NotImplementedError("this is a fake implementation")
44
45
mock = create_autospec(ffi.getwinerror)
46
monkeypatch.setattr("trio._core._windows_cffi.ffi", FFIWrapper)
0 commit comments