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

Method id

Lib/unittest/case.py:1618–1619  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1616 return " ".join(parts) or '(<subtest>)'
1617
1618 def id(self):
1619 return "{} {}".format(self.test_case.id(), self._subDescription())
1620
1621 def shortDescription(self):
1622 """Returns a one-line description of the subtest, or None if no

Callers

nothing calls this directly

Calls 3

_subDescriptionMethod · 0.95
formatMethod · 0.45
idMethod · 0.45

Tested by

no test coverage detected