MCPcopy Index your code
hub / github.com/RustPython/RustPython / __repr__

Method __repr__

Lib/doctest.py:120–128  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

118 return results
119
120 def __repr__(self):
121 if self.skipped:
122 return (f'TestResults(failed={self.failed}, '
123 f'attempted={self.attempted}, '
124 f'skipped={self.skipped})')
125 else:
126 # Leave the repr() unchanged for backward compatibility
127 # if skipped is zero
128 return super().__repr__()
129
130
131# There are 4 basic classes:

Callers

nothing calls this directly

Calls 2

superClass · 0.85
__repr__Method · 0.45

Tested by

no test coverage detected