MCPcopy
hub / github.com/tornadoweb/tornado / native_root

Method native_root

tornado/test/gen_test.py:1057–1059  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

1055@unittest.skipIf(contextvars is None, "contextvars module not present")
1056class ContextVarsTest(AsyncTestCase):
1057 async def native_root(self, x):
1058 ctx_var.set(x)
1059 await self.inner(x)
1060
1061 @gen.coroutine
1062 def gen_root(self, x):

Callers 1

test_propagateMethod · 0.95

Calls 2

innerMethod · 0.95
setMethod · 0.45

Tested by

no test coverage detected