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

Method may_specify_version

tests/program.py:47–48  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

45 "__init__"
46
47 def may_specify_version(self):
48 assert Program(version="1.2.3").version == "1.2.3"
49
50 def default_version_is_unknown(self):
51 assert Program().version == "unknown"

Callers

nothing calls this directly

Calls 1

ProgramClass · 0.90

Tested by

no test coverage detected