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

Method fail

Lib/test/test_bdb.py:585–588  ·  view source on GitHub ↗
(self, msg=None)

Source from the content-addressed store, hash-verified

583 dry_run = dry_run
584
585 def fail(self, msg=None):
586 # Override fail() to use 'raise from None' to avoid repetition of the
587 # error message and traceback.
588 raise self.failureException(msg) from None
589
590class StateTestCase(BaseTestCase):
591 """Test the step, next, return, until and quit 'set_' methods."""

Calls

no outgoing calls

Tested by

no test coverage detected