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

Method shortDescription

Lib/unittest/case.py:1621–1625  ·  view source on GitHub ↗

Returns a one-line description of the subtest, or None if no description has been provided.

(self)

Source from the content-addressed store, hash-verified

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
1623 description has been provided.
1624 """
1625 return self.test_case.shortDescription()
1626
1627 def __str__(self):
1628 return "{} {}".format(self.test_case, self._subDescription())

Callers

nothing calls this directly

Calls 1

shortDescriptionMethod · 0.45

Tested by

no test coverage detected