Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ _new_future
Method
_new_future
Lib/test/test_asyncio/test_futures.py:125–126 ·
view source on GitHub ↗
(self, *args, **kwargs)
Source
from the content-addressed store, hash-verified
123
class
BaseFutureTests:
124
125
def
_new_future(self, *args, **kwargs):
126
return
self.cls(*args, **kwargs)
127
128
def
setUp(self):
129
super().setUp()
Callers
15
test_isfuture
Method · 0.95
test_initial_state
Method · 0.95
test_constructor_without_loop
Method · 0.95
test
Method · 0.95
test_constructor_use_global_loop
Method · 0.95
test_future_cancel_message_getter
Method · 0.95
test_future_cancel_message_setter
Method · 0.95
test_cancel
Method · 0.95
test_result
Method · 0.95
test_exception
Method · 0.95
test_stop_iteration_exception
Method · 0.95
test_exception_class
Method · 0.95
Calls
1
cls
Method · 0.45
Tested by
no test coverage detected