make YieldFrom its own distinct from Yield (closes #13780)
diff --git a/Lib/test/test_ast.py b/Lib/test/test_ast.py
index 2022ee2..b809d24 100644
--- a/Lib/test/test_ast.py
+++ b/Lib/test/test_ast.py
@@ -813,8 +813,8 @@
self._check_comprehension(factory)
def test_yield(self):
- self.expr(ast.Yield(0, ast.Name("x", ast.Store())), "must have Load")
- self.expr(ast.Yield(1, ast.Name("x", ast.Store())), "must have Load")
+ self.expr(ast.Yield(ast.Name("x", ast.Store())), "must have Load")
+ self.expr(ast.YieldFrom(ast.Name("x", ast.Store())), "must have Load")
def test_compare(self):
left = ast.Name("x", ast.Load())