MCPcopy Index your code
hub / github.com/python/cpython / writeln

Method writeln

Lib/unittest/runner.py:26–29  ·  view source on GitHub ↗
(self, arg=None)

Source from the content-addressed store, hash-verified

24 return getattr(self.stream, attr)
25
26 def writeln(self, arg=None):
27 if arg:
28 self.write(arg)
29 self.write('\n') # text-mode streams translate to \r\n if needed
30
31
32class TextTestResult(result.TestResult):

Callers 7

_write_statusMethod · 0.45
addExpectedFailureMethod · 0.45
addUnexpectedSuccessMethod · 0.45
printErrorsMethod · 0.45
printErrorListMethod · 0.45
_printDurationsMethod · 0.45
runMethod · 0.45

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected