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

Class Context

Lib/test/test_raise.py:19–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17
18
19class Context:
20 def __enter__(self):
21 return self
22 def __exit__(self, exc_type, exc_value, exc_tb):
23 return True
24
25
26class TestRaise(unittest.TestCase):

Callers 15

reraiseMethod · 0.70
test_none_argsMethod · 0.70
test_quantizeMethod · 0.70
test_named_parametersMethod · 0.70
test_none_argsMethod · 0.70
test_pickleMethod · 0.70
test_copyMethod · 0.70
test__clampMethod · 0.70
test_absMethod · 0.70
test_addMethod · 0.70

Calls

no outgoing calls

Tested by 15

reraiseMethod · 0.56
test_none_argsMethod · 0.56
test_quantizeMethod · 0.56
test_named_parametersMethod · 0.56
test_none_argsMethod · 0.56
test_pickleMethod · 0.56
test_copyMethod · 0.56
test__clampMethod · 0.56
test_absMethod · 0.56
test_addMethod · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…