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

Method shortDescription

Lib/unittest/case.py:1626–1630  ·  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

1624 return "{} {}".format(self.test_case.id(), self._subDescription())
1625
1626 def shortDescription(self):
1627 """Returns a one-line description of the subtest, or None if no
1628 description has been provided.
1629 """
1630 return self.test_case.shortDescription()
1631
1632 def __str__(self):
1633 return "{} {}".format(self.test_case, self._subDescription())

Callers

nothing calls this directly

Calls 1

shortDescriptionMethod · 0.45

Tested by

no test coverage detected