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

Method trueAsBool

Lib/test/test_with.py:592–594  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

590 return self.exit_result
591
592 def trueAsBool():
593 with cm(lambda: True):
594 self.fail("Should NOT see this")
595 trueAsBool()
596
597 def falseAsBool():

Callers

nothing calls this directly

Calls 2

cmClass · 0.85
failMethod · 0.45

Tested by

no test coverage detected