We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9a39b3b + cea4fd0 commit a2b39bfCopy full SHA for a2b39bf
tests/async/simple.py
@@ -1,2 +1,16 @@
1
+class TestImplementation:
2
+ def __init__(self, a, b):
3
+ self.a = a
4
+ self.b = b
5
+
6
+ async def get_a_b(self):
7
+ s = "a is %s b is %s" % \
8
+ (self.a,
9
+ self.b)
10
+ return s
11
12
+ async def f(self):
13
+ return await 1
14
15
async def f():
16
return await 1
tests/sync/simple.py
+ def get_a_b(self):
+ def f(self):
+ return 1
def f():
return 1
0 commit comments