A lot more fixes for tests.

This commit is contained in:
Dave Halter committed 2017-09-26 16:29:07 +02:00
1 parent 174eff5875
commit 592f2dac95
7 files changed
+23 -19

No files matched your search

+2 -1
View File
@@ -331,7 +331,8 @@ class Evaluator(object):
)
break
context_set = self.eval_trailer(context, context_set, trailer)
return context_set
return context_set
return NO_CONTEXTS
elif typ in ('testlist_star_expr', 'testlist',):
# The implicit tuple in statements.
return ContextSet(iterable.SequenceLiteralContext(self, context, element))