fragments gen_ast more like pysource gen_ast

Skip deparse test for now
This commit is contained in:
rocky
2018-01-30 10:28:32 -05:00
parent c433d2d9a7
commit a753e2c08f
3 changed files with 51 additions and 19 deletions

View File

@@ -2540,6 +2540,8 @@ class SourceWalker(GenericASTTraversal, object):
def build_ast(self, tokens, customize, is_lambda=False,
noneInNames=False, isTopLevel=False):
# FIXME: DRY with fragments.py
# assert isinstance(tokens[0], Token)
if is_lambda: