MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / _formatMessage

Method _formatMessage

Lib/unittest/case.py:426–445  ·  view source on GitHub ↗

Honour the longMessage attribute when generating failure messages. If longMessage is False this means: * Use only an explicit message if it is provided * Otherwise use the standard message for the assert If longMessage is True: * Use the standard message

(self, msg, standardMsg)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

assertFalseMethod · 0.95
assertTrueMethod · 0.95
_baseAssertEqualMethod · 0.95
assertNotEqualMethod · 0.95
assertAlmostEqualMethod · 0.95
assertNotAlmostEqualMethod · 0.95
assertSequenceEqualMethod · 0.95
assertSetEqualMethod · 0.95
assertInMethod · 0.95
assertNotInMethod · 0.95
assertIsMethod · 0.95
assertIsNotMethod · 0.95

Calls 1

safe_reprFunction · 0.85

Tested by 2

test_formatMsgMethod · 0.64