1
0
forked from VimPlug/jedi

Fix the whole test suite of descriptors.

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

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: