MCPcopy Index your code
hub / github.com/pyinvoke/invoke / yields_self

Method yields_self

tests/runners.py:1892–1895  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1890 promise.join.assert_called_once_with()
1891
1892 def yields_self(self):
1893 promise = _runner().run(_, asynchronous=True)
1894 with promise as value:
1895 assert value is promise

Callers

nothing calls this directly

Calls 2

_runnerFunction · 0.85
runMethod · 0.45

Tested by

no test coverage detected