Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions testing/test_gateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@ def remote():
)

monkeypatch.syspath_prepend(tmp_path)
# The test is parametrized; drop the module cached by a previous run,
# whose source file has since been removed.
monkeypatch.delitem(sys.modules, "remote", raising=False)
import remote # type: ignore[import-not-found]

ch = gw.remote_exec(remote)
Expand Down