From ddc7c73c46490fa44d22e52032c6b9f0c7229e80 Mon Sep 17 00:00:00 2001 From: David Halter Date: Wed, 22 Aug 2012 17:29:05 +0200 Subject: [PATCH] temporary jedi tests (they do not work as they should) --- test/completion/thirdparty/jedi_.py | 30 ++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/test/completion/thirdparty/jedi_.py b/test/completion/thirdparty/jedi_.py index 412a7d9f..66aa154a 100644 --- a/test/completion/thirdparty/jedi_.py +++ b/test/completion/thirdparty/jedi_.py @@ -1,5 +1,5 @@ -from jedi import functions, evaluate +from jedi import functions, evaluate, parsing el = functions.complete()[0] #? ['description'] @@ -14,23 +14,23 @@ scopes, path, dot, like = \ source_path, True) # has problems with that (sometimes) very deep nesting. -#? set() -el = scopes. +##? set() +el = scopes # get_names_for_scope is also recursion stuff -#? tuple() -el = evaluate.get_names_for_scope()[0] +##? tuple() +el = list(evaluate.get_names_for_scope())[0] -#? int() -el = evaluate.get_names_for_scope(1)[0][0] -#? [] -el = evaluate.get_names_for_scope()[0][0] +##? int() parsing.Module() +el = list(evaluate.get_names_for_scope(1))[0][0] +#? parsing.Module() +el = list(evaluate.get_names_for_scope())[0][0] -#? list() -el = evaluate.get_names_for_scope(1)[0][1] -#? list() -el = evaluate.get_names_for_scope()[0][1] +##? list() +el = list(evaluate.get_names_for_scope(1))[0][1] +##? list() +el = list(evaluate.get_names_for_scope())[0][1] # TODO here should stand evaluate.Instance() and so on. -#? [] -el = evaluate.get_names_for_scope()[0][1][0] +##? [] +el = list(evaluate.get_names_for_scope())[0][1][0]