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

Method test_fail

Lib/test/libregrtest/testresult.py:173–176  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

171 time.sleep(1.0)
172
173 def test_fail(self):
174 print('stdout', file=sys.stdout)
175 print('stderr', file=sys.stderr)
176 self.fail('failure message')
177
178 def test_error(self):
179 print('stdout', file=sys.stdout)

Callers

nothing calls this directly

Calls 1

failMethod · 0.45

Tested by

no test coverage detected