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

Method fail

Lib/unittest/case.py:753–755  ·  view source on GitHub ↗

Fail immediately, with the given message.

(self, msg=None)

Source from the content-addressed store, hash-verified

751 raise SkipTest(reason)
752
753 def fail(self, msg=None):
754 """Fail immediately, with the given message."""
755 raise self.failureException(msg)
756
757 def assertFalse(self, expr, msg=None):
758 """Check that the expression is false."""

Callers 15

assertSequenceEqualMethod · 0.95
assertSetEqualMethod · 0.95
assertInMethod · 0.95
assertNotInMethod · 0.95
assertIsMethod · 0.95
assertIsNotMethod · 0.95
assertDictEqualMethod · 0.95
assertCountEqualMethod · 0.95
assertMultiLineEqualMethod · 0.95
assertLessMethod · 0.95
assertLessEqualMethod · 0.95
assertGreaterMethod · 0.95

Calls

no outgoing calls

Tested by 6

test_unpack_iterMethod · 0.76
test_closeMethod · 0.76
test_withMethod · 0.76