Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/pyinvoke/invoke
/ includes_task_name
Method
includes_task_name
tests/task.py:490–492 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
488
"__str__"
489
490
def
includes_task_name(self):
491
call = Call(self.task)
492
assert str(call) ==
"<Call 'mytask', args: (), kwargs: {}>"
493
494
def
works_for_subclasses(self):
495
class
MyCall(Call):
Callers
nothing calls this directly
Calls
2
Call
Class · 0.90
str
Class · 0.85
Tested by
no test coverage detected