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

Method bytecode_skipped_by_default

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

Source from the content-addressed store, hash-verified

98 debug.assert_called_with("my-sentinel")
99
100 def bytecode_skipped_by_default(self):
101 expect("-c foo mytask")
102 assert sys.dont_write_bytecode
103
104 def write_pyc_explicitly_enables_bytecode_writing(self):
105 expect("--write-pyc -c foo mytask")

Callers

nothing calls this directly

Calls 1

expectFunction · 0.90

Tested by

no test coverage detected