A lot more fixes - fix all evaluate integration tests.

This commit is contained in:
Dave Halter committed 2016-12-03 22:17:38 +01:00
1 parent ee1f077014
commit 6940900c58
10 files changed
+91 -53

No files matched your search

+3 -3
View File
@@ -49,16 +49,16 @@ def test_namespace_package():
for c in script_with_path(source + '; x.').completions():
if c.name == 'foo':
completion = c
solution = "statement: foo = '%s'" % solution
solution = "foo = '%s'" % solution
assert completion.description == solution
def test_nested_namespace_package():
CODE = 'from nested_namespaces.namespace.pkg import CONST'
code = 'from nested_namespaces.namespace.pkg import CONST'
sys_path = [dirname(__file__)]
script = jedi.Script(sys_path=sys_path, source=CODE, line=1, column=45)
script = jedi.Script(sys_path=sys_path, source=code, line=1, column=45)
result = script.goto_definitions()