Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ exception
Method
exception
Lib/test/test_asyncio/test_futures.py:83–85 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
81
return
self.__result
82
83
def
exception(self):
84
self.assertFalse(self.cancelled())
85
return
self.__exception
86
87
def
set_result(self, result):
88
self.assertFalse(self.done())
Callers
15
test_sys_exception_no_exception
Method · 0.45
test_sys_exception_with_exception_instance
Method · 0.45
test_sys_exception_with_exception_type
Method · 0.45
helper1
Function · 0.45
handle_error
Function · 0.45
store_raise_exc_generator
Method · 0.45
test_except_throw
Method · 0.45
gen
Method · 0.45
test_except_next
Method · 0.45
test_except_gen_except
Method · 0.45
test_nested_gen_except_loop
Method · 0.45
test_except_throw_exception_context
Method · 0.45
Calls
2
cancelled
Method · 0.95
assertFalse
Method · 0.80
Tested by
no test coverage detected