Fix the whole test suite of descriptors.

This commit is contained in:
Dave Halter committed 2016-11-16 22:57:07 +01:00
1 parent ba03f1dcb9
commit d15016c5c1
5 files changed
+16 -18

No files matched your search

+3 -1
View File
@@ -120,7 +120,9 @@ class TreeArguments(AbstractArguments):
for values in list(zip_longest(*iterators)):
# TODO zip_longest yields None, that means this would raise
# an exception?
yield None, context.get_merged_lazy_context(values)
yield None, context.get_merged_lazy_context(
[v for v in values if v is not None]
)
elif stars == 2:
arrays = self._evaluator.eval_element(self.context, el)
for dct in arrays: