We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17eea03 commit 923305eCopy full SHA for 923305e
Lib/test/test_coroutines.py
@@ -90,10 +90,6 @@ def test_badsyntax_1(self):
90
91
"""await something()""",
92
93
- """async def foo():
94
- yield from []
95
- """,
96
-
97
"""async def foo():
98
await await fut
99
""",
Lib/test/test_dis.py
@@ -1035,7 +1035,8 @@ def test_widths(self):
1035
long_opcodes = set(['JUMP_BACKWARD_NO_INTERRUPT',
1036
'LOAD_FAST_BORROW_LOAD_FAST_BORROW',
1037
'INSTRUMENTED_CALL_FUNCTION_EX',
1038
- 'ANNOTATIONS_PLACEHOLDER'])
+ 'ANNOTATIONS_PLACEHOLDER',
1039
+ 'GET_ASYNC_YIELD_FROM_ITER'])
1040
for op, opname in enumerate(dis.opname):
1041
if opname in long_opcodes or opname.startswith("INSTRUMENTED"):
1042
continue
0 commit comments