Issue #28008: Fix test_unparse

This commit is contained in:
Yury Selivanov 2016-09-09 11:48:39 -07:00
parent 8b26702fa3
commit bf04b0698b

View File

@ -444,7 +444,10 @@ class Unparser:
self.write("}")
def _comprehension(self, t):
self.write(" for ")
if t.is_async:
self.write(" async for ")
else:
self.write(" for ")
self.dispatch(t.target)
self.write(" in ")
self.dispatch(t.iter)