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]
#? ['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]