Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
19
class
Context:
20
def
__enter__(self):
21
return
self
22
def
__exit__(self, exc_type, exc_value, exc_tb):
23
return
True
24
25
26
class
TestRaise(unittest.TestCase):
Callers
15
reraise
Method · 0.70
test_decimal_fraction_comparison
Method · 0.70
test_none_args
Method · 0.70
test_create_decimal_from_float
Method · 0.70
test_quantize
Method · 0.70
test_named_parameters
Method · 0.70
test_none_args
Method · 0.70
test_pickle
Method · 0.70
test_copy
Method · 0.70
test__clamp
Method · 0.70
test_abs
Method · 0.70
test_add
Method · 0.70
Calls
no outgoing calls
Tested by
15
reraise
Method · 0.56
test_decimal_fraction_comparison
Method · 0.56
test_none_args
Method · 0.56
test_create_decimal_from_float
Method · 0.56
test_quantize
Method · 0.56
test_named_parameters
Method · 0.56
test_none_args
Method · 0.56
test_pickle
Method · 0.56
test_copy
Method · 0.56
test__clamp
Method · 0.56
test_abs
Method · 0.56
test_add
Method · 0.56
Used in the wild
real call sites across dependent graphs
searching dependent graphs…