Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(185578)

Unified Diff: Lib/test/test_ast.py

Issue 11682: PEP 380 reference implementation for 3.3
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
--- a/Lib/test/test_ast.py Thu Jan 12 08:06:49 2012 +0100
+++ b/Lib/test/test_ast.py Fri Jan 13 00:26:31 2012 +1000
@@ -813,7 +813,8 @@
self._check_comprehension(factory)
def test_yield(self):
- self.expr(ast.Yield(ast.Name("x", ast.Store())), "must have Load")
+ 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")
def test_compare(self):
left = ast.Name("x", ast.Load())
« no previous file with comments | « Lib/opcode.py ('k') | Lib/test/test_generators.py » ('j') | Modules/parsermodule.c » ('J')

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+