MCPcopy 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

123class 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_isfutureMethod · 0.95
test_initial_stateMethod · 0.95
testMethod · 0.95
test_cancelMethod · 0.95
test_resultMethod · 0.95
test_exceptionMethod · 0.95
test_exception_classMethod · 0.95

Calls 1

clsMethod · 0.45

Tested by

no test coverage detected