MCPcopy Create free account
hub / github.com/EasyIME/PIME / add_one_async

Method add_one_async

python/python3/tornado/test/gen_test.py:49–51  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

47
48 @gen.coroutine
49 def add_one_async(self, x):
50 yield gen.moment
51 raise gen.Return(x + 1)
52
53 def test_no_yield(self):
54 @gen.coroutine

Callers 1

fMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected