MCPcopy Index your code
hub / github.com/CITGuru/PyInquirer / writeline

Method writeline

tests/helpers.py:163–170  ·  view source on GitHub ↗

Syntactic sugar to add a '\n' at the end of the . Returns the number of bytes written.

(self, s)

Source from the content-addressed store, hash-verified

161 return count
162
163 def writeline(self, s):
164 """Syntactic sugar to add a '\n' at the end of the .
165
166 Returns the number of bytes written.
167 """
168 if not s.endswith('\n'):
169 s += '\n'
170 return self.write(s)
171
172 @classmethod
173 def spawn(

Callers 8

test_inputFunction · 0.80
test_pizzaFunction · 0.80
test_when_baconFunction · 0.80
test_when_pizzaFunction · 0.80
test_example_appFunction · 0.80
test_example_app_regexFunction · 0.80
test_passwordFunction · 0.80

Calls 1

writeMethod · 0.95

Tested by 8

test_inputFunction · 0.64
test_pizzaFunction · 0.64
test_when_baconFunction · 0.64
test_when_pizzaFunction · 0.64
test_example_appFunction · 0.64
test_example_app_regexFunction · 0.64
test_passwordFunction · 0.64