1
0
forked from VimPlug/jedi

temporary jedi tests (they do not work as they should)

This commit is contained in:
David Halter
2012-08-22 17:29:05 +02:00
parent b844fa201a
commit ddc7c73c46

View File

@@ -1,5 +1,5 @@
from jedi import functions, evaluate from jedi import functions, evaluate, parsing
el = functions.complete()[0] el = functions.complete()[0]
#? ['description'] #? ['description']
@@ -14,23 +14,23 @@ scopes, path, dot, like = \
source_path, True) source_path, True)
# has problems with that (sometimes) very deep nesting. # has problems with that (sometimes) very deep nesting.
#? set() ##? set()
el = scopes. el = scopes
# get_names_for_scope is also recursion stuff # get_names_for_scope is also recursion stuff
#? tuple() ##? tuple()
el = evaluate.get_names_for_scope()[0] el = list(evaluate.get_names_for_scope())[0]
#? int() ##? int() parsing.Module()
el = evaluate.get_names_for_scope(1)[0][0] el = list(evaluate.get_names_for_scope(1))[0][0]
#? [] #? parsing.Module()
el = evaluate.get_names_for_scope()[0][0] el = list(evaluate.get_names_for_scope())[0][0]
#? list() ##? list()
el = evaluate.get_names_for_scope(1)[0][1] el = list(evaluate.get_names_for_scope(1))[0][1]
#? list() ##? list()
el = evaluate.get_names_for_scope()[0][1] el = list(evaluate.get_names_for_scope())[0][1]
# TODO here should stand evaluate.Instance() and so on. # 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]