Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ assertRaises
Method
assertRaises
Lib/test/test_patma.py:3543–3544 ·
view source on GitHub ↗
(*_, **__)
Source
from the content-addressed store, hash-verified
3541
pass
3542
3543
def
assertRaises(*_, **__):
3544
assert False,
"this test should be a method of a different class!"
3545
3546
def
run_perf(self, count):
3547
tests = []
Callers
15
test_handling_exception_while_delegating_send
Method · 0.45
test_broken_getattr_handling
Method · 0.45
test_exception_in_initial_next_call
Method · 0.45
test_yield_from_empty
Method · 0.45
close
Method · 0.45
assert_stop_iteration
Method · 0.45
test_close_and_throw_work
Method · 0.45
test_close_and_throw_raise_generator_exit
Method · 0.45
test_close_and_throw_raise_base_exception
Method · 0.45
test_close_and_throw_raise_exception
Method · 0.45
test_close_and_throw_yield
Method · 0.45
test_close_and_throw_return
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected